|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.Authenticator org.objectweb.jonas.mail.lib.JAuthenticator
public class JAuthenticator
This class specifies the authenticator to used in Sesssion.getInstance() method.
Constructor Summary | |
---|---|
JAuthenticator(java.lang.String username,
java.lang.String password)
Constructor for build a new Authenticator |
Method Summary | |
---|---|
javax.mail.PasswordAuthentication |
getPasswordAuthentication()
Called when password authentication is needed. |
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 |
---|
public JAuthenticator(java.lang.String username, java.lang.String password)
username
- the name of the userpassword
- the password of the userMethod 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 |