|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.Authenticator toolbox.allegato.MailConfig.SimpleMailAuthenticator
class MailConfig.SimpleMailAuthenticator
Authenticator subclass to perform user name/password authentication.
Constructor Summary | |
---|---|
MailConfig.SimpleMailAuthenticator(java.lang.String userName,
java.lang.String password)
Construct an authenticator with the given user name and password. |
Method Summary | |
---|---|
javax.mail.PasswordAuthentication |
getPasswordAuthentication()
Return a PassworAuthentication instance using the member user name and password of this Authenticator instance. |
Methods inherited from class javax.mail.Authenticator |
---|
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
MailConfig.SimpleMailAuthenticator(java.lang.String userName, java.lang.String password)
userName
- String containing the user name.password
- String containing the password.Method Detail |
---|
public javax.mail.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class javax.mail.Authenticator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |