public class ProxyAuthenticator extends Authenticator
Authenticator.RequestorType
Modifier and Type | Method and Description |
---|---|
static void |
setCredentials(String username,
String password)
Sets the ProxyAuthenticator with the specified username and password; The System properties http.proxyHost and http.proxyPort should be set before calling this method.
|
requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault