|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.mail.Authenticator
org.ow2.easybeans.component.mail.factory.SimpleAuthenticator
public class SimpleAuthenticator
This class specifies the Authenticator to use in
Sesssion.getInstance() method.
| Constructor Summary | |
|---|---|
SimpleAuthenticator(java.lang.String username,
java.lang.String password)
Constructor for build a new Authenticator. |
|
| Method Summary | |
|---|---|
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 SimpleAuthenticator(java.lang.String username,
java.lang.String password)
Authenticator.
username - the name of the userpassword - the password of the user| Method Detail |
|---|
public PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class Authenticator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||