public class DefaultAuthenticator extends Authenticator
| Modifier and Type | Class and Description |
|---|---|
static interface |
DefaultAuthenticator.Receiver |
Authenticator.RequestorType| Modifier and Type | Method and Description |
|---|---|
static DefaultAuthenticator |
getAuthenticator() |
protected PasswordAuthentication |
getPasswordAuthentication() |
static void |
reset() |
void |
setAuth(File f,
DefaultAuthenticator.Receiver l) |
void |
setProxyAuth(String proxyAuth)
Proxy authorization string in form of username:password.
|
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefaultpublic static DefaultAuthenticator getAuthenticator()
public static void reset()
protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class Authenticatorpublic void setProxyAuth(String proxyAuth)
proxyAuth - public void setAuth(File f, DefaultAuthenticator.Receiver l)
Copyright © 2015 Oracle Corporation. All Rights Reserved.