Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.mail.PasswordAuthentication
public final class PasswordAuthentication
extends java.lang.Object
Constructor Summary | |
|
Method Summary | |
String |
|
String |
|
public PasswordAuthentication(String userName, String password)
Creates a new password authentication
- Parameters:
userName
- the usernamepassword
- the password
public String getPassword()
Returns the password.
public String getUserName()
Returns the username.