Package javax.mail
Class PasswordAuthentication
- java.lang.Object
-
- javax.mail.PasswordAuthentication
-
public final class PasswordAuthentication extends java.lang.Object
Container for a username/password combination.- Version:
- 1.4
- Author:
- Chris Burdess
-
-
Constructor Summary
Constructors Constructor Description PasswordAuthentication(java.lang.String userName, java.lang.String password)
Creates a new password authentication
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPassword()
Returns the password.java.lang.String
getUserName()
Returns the username.
-