public class ThreadLocalProxyAuthenticator extends Authenticator
Authenticator.RequestorType| Modifier and Type | Method and Description |
|---|---|
static void |
clearCredentials() |
static ThreadLocalProxyAuthenticator |
getInstance() |
PasswordAuthentication |
getPasswordAuthentication() |
void |
setCredentials(String user,
String password) |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefaultpublic static final ThreadLocalProxyAuthenticator getInstance()
public static void clearCredentials()
public PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class AuthenticatorCopyright © 2024. All rights reserved.