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