javax.mail
Class PasswordAuthentication
java.lang.Objectjavax.mail.PasswordAuthentication
public final class PasswordAuthentication
extends java.lang.Object
The class PasswordAuthentication is a data holder that is used by
Authenticator.
It is simply a repository for a user name and a password.
Version:
- Chris Burdess
PasswordAuthentication
public PasswordAuthentication(String userName,
String password) Initialize a new PasswordAuthentication
userName - the user namepassword - The user's password
getPassword
public String getPassword()
- the password
getUserName
public String getUserName()
- the user name
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved