public final class BasicAuthenticator extends Authenticator
Authenticator.RequestorType| Constructor and Description |
|---|
BasicAuthenticator(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
PasswordAuthentication |
getPasswordAuthentication() |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefaultpublic PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class AuthenticatorCopyright © 2016–2022. All rights reserved.