public class DefaultAuthenticator
extends java.net.Authenticator
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
DefaultAuthenticator.Receiver |
| Modifier and Type | Method | Description |
|---|---|---|
static DefaultAuthenticator |
getAuthenticator() |
|
protected java.net.PasswordAuthentication |
getPasswordAuthentication() |
|
static void |
reset() |
|
void |
setAuth(java.io.File f,
DefaultAuthenticator.Receiver l) |
|
void |
setProxyAuth(java.lang.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 java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class java.net.Authenticatorpublic void setProxyAuth(java.lang.String proxyAuth)
proxyAuth - public void setAuth(java.io.File f,
DefaultAuthenticator.Receiver l)
Copyright © 2017 Oracle Corporation. All rights reserved.