javax.mail
Class PasswordAuthentication
java.lang.Object
javax.mail.PasswordAuthentication
public final class PasswordAuthentication
extends java.lang.Object
Container for a username/password combination.
PasswordAuthentication
public PasswordAuthentication(String userName,
String password)
Creates a new password authentication
userName
- the usernamepassword
- the password
getPassword
public String getPassword()
Returns the password.
getUserName
public String getUserName()
Returns the username.
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved