|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.mail.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.
java.net.PasswordAuthentication
,
Authenticator
,
Authenticator.getPasswordAuthentication()
Constructor Summary | |
PasswordAuthentication(java.lang.String userName,
java.lang.String password)
Initialize a new PasswordAuthentication |
Method Summary | |
java.lang.String |
getPassword()
|
java.lang.String |
getUserName()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public PasswordAuthentication(java.lang.String userName, java.lang.String password)
userName
- the user namepassword
- The user's passwordMethod Detail |
public java.lang.String getUserName()
public java.lang.String getPassword()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |