Package com.sun.istack.tools
Class DefaultAuthenticator
- java.lang.Object
-
- java.net.Authenticator
-
- com.sun.istack.tools.DefaultAuthenticator
-
public class DefaultAuthenticator extends Authenticator
- Author:
- Vivek Pandey, Lukas Jungmann
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDefaultAuthenticator.Receiver-
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultAuthenticatorgetAuthenticator()protected PasswordAuthenticationgetPasswordAuthentication()static voidreset()voidsetAuth(File f, DefaultAuthenticator.Receiver l)voidsetProxyAuth(String proxyAuth)Proxy authorization string in form of username:password.-
Methods inherited from class java.net.Authenticator
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
-
-
-
-
Method Detail
-
getAuthenticator
public static DefaultAuthenticator getAuthenticator()
-
reset
public static void reset()
-
getPasswordAuthentication
protected PasswordAuthentication getPasswordAuthentication()
- Overrides:
getPasswordAuthenticationin classAuthenticator
-
setProxyAuth
public void setProxyAuth(String proxyAuth)
Proxy authorization string in form of username:password.- Parameters:
proxyAuth-
-
setAuth
public void setAuth(File f, DefaultAuthenticator.Receiver l)
-
-