public class FirewallAuthenticator extends Authenticator
Authenticator.RequestorType
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PROXY_HOST |
static String |
DEFAULT_PROXY_NOPROXY |
static String |
DEFAULT_PROXY_PORT |
static String |
DEFAULT_PROXY_SET |
(package private) String |
proxyPassword
The password to use for the proxy authentication.
|
(package private) String |
proxyUsername
The username to use for the proxy authentication.
|
(package private) PasswordAuthentication |
pw
The impl of the PasswordAuthentication for the Authenticator.
|
Constructor and Description |
---|
FirewallAuthenticator(PasswordAuthentication pw)
Constructor for the FirewallAuthenticator object
|
FirewallAuthenticator(String proxyUser,
String proxyPass)
Constructor for the FirewallAuthenticator object
|
Modifier and Type | Method and Description |
---|---|
protected PasswordAuthentication |
getPasswordAuthentication()
Impl for Authenticator so an authorizing proxy will work.
|
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
public static final String DEFAULT_PROXY_SET
public static final String DEFAULT_PROXY_HOST
public static final String DEFAULT_PROXY_PORT
public static final String DEFAULT_PROXY_NOPROXY
String proxyUsername
String proxyPassword
PasswordAuthentication pw
public FirewallAuthenticator(PasswordAuthentication pw)
pw
- Description of the Parameterpublic FirewallAuthenticator(String proxyUser, String proxyPass)
proxyUser
- Description of the ParameterproxyPass
- Description of the Parameterprotected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class Authenticator
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses