public class DefaultAuthenticator extends Authenticator
Authenticator.RequestorType| Modifier and Type | Field and Description |
|---|---|
protected String |
CANCEL_BUTTON |
protected String |
DESCRIPTION |
protected String |
HOST |
protected String |
OK_BUTTON |
protected String |
PASSWORD |
protected String |
REALM |
protected String |
TITLE |
protected String |
USERNAME |
| Constructor and Description |
|---|
DefaultAuthenticator(JFrame parent)
Constructor for the authenticator, setting the parent frame.
|
| Modifier and Type | Method and Description |
|---|---|
protected PasswordAuthentication |
getPasswordAuthentication()
Return the PasswordAuthentication object.
|
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefaultprotected String TITLE
protected String DESCRIPTION
protected String USERNAME
protected String PASSWORD
protected String HOST
protected String REALM
protected String OK_BUTTON
protected String CANCEL_BUTTON
public DefaultAuthenticator(JFrame parent)
parent - the parent frame.protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class AuthenticatorCopyright © 2013. All Rights Reserved.