| java.lang.Object |
| ↳ |
com.google.code.javax.mail.PasswordAuthentication |
Class Overview
The class PasswordAuthentication is a data holder that is used by
Authenticator. It is simply a repository for a user name and a password.
See Also
- java.net.PasswordAuthentication
- javax.mail.Authenticator
- javax.mail.Authenticator#getPasswordAuthentication()
Summary
| Public Constructors |
|
|
PasswordAuthentication(String userName, String password)
Initialize a new PasswordAuthentication
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
Public Constructors
public
PasswordAuthentication
(String userName, String password)
Initialize a new PasswordAuthentication
Parameters
| userName
| The user name |
| password
| The user's password
|
Public Methods
public
String
getPassword
()
public
String
getUserName
()