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