public class EncryptedPasswordAuthenticator extends Authenticator
Authenticator that uses a username and password from the provided Properties to authenticate, and
also decrypts the password using PasswordManagerAuthenticator.RequestorType| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHENTICATOR_PASSWORD |
static String |
AUTHENTICATOR_USERNAME |
| Constructor and Description |
|---|
EncryptedPasswordAuthenticator(Properties props) |
| Modifier and Type | Method and Description |
|---|---|
protected PasswordAuthentication |
getPasswordAuthentication() |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefaultpublic static final String AUTHENTICATOR_USERNAME
public static final String AUTHENTICATOR_PASSWORD
public EncryptedPasswordAuthenticator(Properties props)
protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class Authenticator