com.jcorporate.expresso.core.misc
Class EMailAuthenticator
java.lang.Object
javax.mail.Authenticator
com.jcorporate.expresso.core.misc.EMailAuthenticator
- public class EMailAuthenticator
- extends javax.mail.Authenticator
EMailAuthenticator
This object is used to provide the Authenticator object required by JavaMail when
it connects to an e-mail server that is secured.
- Author:
- Michael Nash
| 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 |
EMailAuthenticator
public EMailAuthenticator()
- Implement the required constructor
getPasswordAuthentication
protected javax.mail.PasswordAuthentication getPasswordAuthentication()
- Implement the required getPasswordAuthentication method
by using the appropriate config values
- Returns:
- PasswordAuthentication The default authentication object
setDBName
public void setDBName(String newDBName)
- Parameters:
newDBName -
setPassword
public void setPassword(String newPassword)
- Parameters:
newPassword -
setUser
public void setUser(String user)
- Parameters:
user -
Please see www.jcorporate.com for information about new Expresso releases.