Get Bounce at SourceForge.net. Fast secure and Free Open Source software downloads

org.bounce.net
Class DefaultAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by org.bounce.net.DefaultAuthenticator

public class DefaultAuthenticator
extends java.net.Authenticator

An authenticator which prompts for username and password.

Version:
$Revision: 1.5 $, $Date: 2008/01/28 21:28:37 $
Author:
Edwin Dankert

Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
java.net.Authenticator.RequestorType
 
Field Summary
protected  java.lang.String CANCEL_BUTTON
           
protected  java.lang.String DESCRIPTION
           
protected  java.lang.String HOST
           
protected  java.lang.String OK_BUTTON
           
protected  java.lang.String PASSWORD
           
protected  java.lang.String REALM
           
protected static java.awt.Dimension SIZE
           
protected  java.lang.String TITLE
           
protected  java.lang.String USERNAME
           
 
Constructor Summary
DefaultAuthenticator(javax.swing.JFrame parent)
          Constructor for the authenticator, setting the parent frame.
 
Method Summary
protected  java.net.PasswordAuthentication getPasswordAuthentication()
          Return the PasswordAuthentication object.
 
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
 

Field Detail

SIZE

protected static java.awt.Dimension SIZE

TITLE

protected java.lang.String TITLE

DESCRIPTION

protected java.lang.String DESCRIPTION

USERNAME

protected java.lang.String USERNAME

PASSWORD

protected java.lang.String PASSWORD

HOST

protected java.lang.String HOST

REALM

protected java.lang.String REALM

OK_BUTTON

protected java.lang.String OK_BUTTON

CANCEL_BUTTON

protected java.lang.String CANCEL_BUTTON
Constructor Detail

DefaultAuthenticator

public DefaultAuthenticator(javax.swing.JFrame parent)
Constructor for the authenticator, setting the parent frame.

Parameters:
parent - the parent frame.
Method Detail

getPasswordAuthentication

protected java.net.PasswordAuthentication getPasswordAuthentication()
Return the PasswordAuthentication object.

Overrides:
getPasswordAuthentication in class java.net.Authenticator
Returns:
the PasswordAuthentication object.

Get Bounce at SourceForge.net. Fast secure and Free Open Source software downloads

Copyright 2002-2002-2009 Edwin Dankert. All Rights Reserved.