public class ProxyAuthenticator extends Authenticator
Authenticator.RequestorType
Constructor | Description |
---|---|
ProxyAuthenticator(String userName,
String password) |
Create a ProxyAuthenticator with the specified username and password.
|
Modifier and Type | Method | Description |
---|---|---|
protected PasswordAuthentication |
getPasswordAuthentication() |
Return a PasswordAuthentication instance using the userName and password
specified in the constructor.
|
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class Authenticator
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.