org.bounce.net
Class DefaultAuthenticator
java.lang.Object
java.net.Authenticator
org.bounce.net.DefaultAuthenticator
public class DefaultAuthenticator
- extends Authenticator
An authenticator which prompts for username and password.
- Version:
- $Revision: 1.5 $, $Date: 2008/01/28 21:28:37 $
- Author:
- Edwin Dankert
Methods inherited from class java.net.Authenticator |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIZE
protected static Dimension SIZE
TITLE
protected String TITLE
DESCRIPTION
protected String DESCRIPTION
USERNAME
protected String USERNAME
PASSWORD
protected String PASSWORD
HOST
protected String HOST
REALM
protected String REALM
OK_BUTTON
protected String OK_BUTTON
CANCEL_BUTTON
protected String CANCEL_BUTTON
DefaultAuthenticator
public DefaultAuthenticator(JFrame parent)
- Constructor for the authenticator, setting the parent frame.
- Parameters:
parent
- the parent frame.
getPasswordAuthentication
protected PasswordAuthentication getPasswordAuthentication()
- Return the PasswordAuthentication object.
- Overrides:
getPasswordAuthentication
in class Authenticator
- Returns:
- the PasswordAuthentication object.
Copyright © 2002-2011 Edwin Dankert. All Rights Reserved.