Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/sun/net/www/protocol/http/NTLMAuthenticationProxy.java
          +++ new/src/share/classes/sun/net/www/protocol/http/NTLMAuthenticationProxy.java
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29  import java.lang.reflect.Constructor;
  30   30  import java.lang.reflect.Method;
  31   31  import sun.util.logging.PlatformLogger;
  32   32  
  33   33  /**
  34   34   * Proxy class for loading NTLMAuthentication, so as to remove static
  35   35   * dependancy.
  36   36   */
  37   37  class NTLMAuthenticationProxy {
  38   38      private static Method supportsTA;
  39      -    private static final String clazzStr = "sun.net.www.protocol.http.NTLMAuthentication";
       39 +    private static final String clazzStr = "sun.net.www.protocol.http.ntlm.NTLMAuthentication";
  40   40      private static final String supportsTAStr = "supportsTransparentAuth";
  41   41  
  42   42      static final NTLMAuthenticationProxy proxy = tryLoadNTLMAuthentication();
  43   43      static final boolean supported = proxy != null ? true : false;
  44   44      static final boolean supportsTransparentAuth = supported ? supportsTransparentAuth(supportsTA) : false;
  45   45  
  46   46      private final Constructor<? extends AuthenticationInfo> threeArgCtr;
  47   47      private final Constructor<? extends AuthenticationInfo> fiveArgCtr;
  48   48  
  49   49      private NTLMAuthenticationProxy(Constructor<? extends AuthenticationInfo> threeArgCtr,
↓ open down ↓ 82 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX