public class SimpleAuthenticator extends Authenticator
Authenticator.RequestorType
Constructor and Description |
---|
SimpleAuthenticator(String userName,
String password) |
Modifier and Type | Method and Description |
---|---|
protected PasswordAuthentication |
getPasswordAuthentication() |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class Authenticator