APIdia Launch Partner
Top Description Fields Constructors Methods
sun.net.www.protocol.http

pack-priv Class NTLMAuthenticationProxy

extends Object
Class Inheritance
Imports
java.net.URL, .PasswordAuthentication, java.lang.reflect.Constructor, .Method, sun.util.logging.PlatformLogger

Proxy class for loading NTLMAuthentication, so as to remove static dependency.

Field Summary

Modifier and TypeField and Description
private static final String
private final Constructor<? extends AuthenticationInfo>
private static Method
private static final String
pack-priv static final NTLMAuthenticationProxy
pack-priv static final boolean
private static Method
private static final String
pack-priv static final boolean
private final Constructor<? extends AuthenticationInfo>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv AuthenticationInfo
create(boolean isProxy, URL url, PasswordAuthentication pw)

pack-priv AuthenticationInfo
create(boolean isProxy, String host, int port, PasswordAuthentication pw)

pack-priv static void
public static boolean
private static boolean
private static NTLMAuthenticationProxy
tryLoadNTLMAuthentication()

Loads the NTLM authentiation implementation through reflection.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

clazzStrback to summary
private static final String clazzStr
fourArgCtrback to summary
private final Constructor<? extends AuthenticationInfo> fourArgCtr
isTrustedSiteback to summary
private static Method isTrustedSite
isTrustedSiteStrback to summary
private static final String isTrustedSiteStr
proxyback to summary
pack-priv static final NTLMAuthenticationProxy proxy
supportedback to summary
pack-priv static final boolean supported
supportsTAback to summary
private static Method supportsTA
supportsTAStrback to summary
private static final String supportsTAStr
supportsTransparentAuthback to summary
pack-priv static final boolean supportsTransparentAuth
threeArgCtrback to summary
private final Constructor<? extends AuthenticationInfo> threeArgCtr

Constructor Detail

NTLMAuthenticationProxyback to summary
private NTLMAuthenticationProxy(Constructor<? extends AuthenticationInfo> threeArgCtr, Constructor<? extends AuthenticationInfo> fourArgCtr)

Method Detail

createback to summary
pack-priv AuthenticationInfo create(boolean isProxy, URL url, PasswordAuthentication pw)
createback to summary
pack-priv AuthenticationInfo create(boolean isProxy, String host, int port, PasswordAuthentication pw)
finestback to summary
pack-priv static void finest(Exception e)
isTrustedSiteback to summary
public static boolean isTrustedSite(URL url)
supportsTransparentAuthback to summary
private static boolean supportsTransparentAuth()
tryLoadNTLMAuthenticationback to summary
private static NTLMAuthenticationProxy tryLoadNTLMAuthentication()

Loads the NTLM authentiation implementation through reflection. If the class is present, then it must have the required constructors and method. Otherwise, it is considered an error.

Annotations
@SuppressWarnings:unchecked