Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/sun/security/jgss/GSSUtil.java
          +++ new/src/share/classes/sun/security/jgss/GSSUtil.java
↓ open down ↓ 229 lines elided ↑ open up ↑
 230  230       * configuration entry.
 231  231       *
 232  232       * @param caller the caller of JAAS Login
 233  233       * @param mech the mech to be used
 234  234       * @return the authenticated subject
 235  235       */
 236  236      public static Subject login(GSSCaller caller, Oid mech) throws LoginException {
 237  237  
 238  238          CallbackHandler cb = null;
 239  239          if (caller instanceof HttpCaller) {
 240      -            cb = new sun.net.www.protocol.http.NegotiateCallbackHandler(
      240 +            cb = new sun.net.www.protocol.http.spnego.NegotiateCallbackHandler(
 241  241                      ((HttpCaller)caller).info());
 242  242          } else {
 243  243              String defaultHandler =
 244  244                      java.security.Security.getProperty(DEFAULT_HANDLER);
 245  245              // get the default callback handler
 246  246              if ((defaultHandler != null) && (defaultHandler.length() != 0)) {
 247  247                  cb = null;
 248  248              } else {
 249  249                  cb = new TextCallbackHandler();
 250  250              }
↓ open down ↓ 122 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX