public class DefaultAuthenticator extends Authenticator
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
DefaultAuthenticator.Receiver |
Authenticator.RequestorType| Modifier and Type | Method | 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.
|
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, 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 © 2018 Oracle Corporation. All rights reserved.