Expresso 5-6

com.jcorporate.expresso.core.misc
Class EMailAuthenticator

java.lang.Object
  extended byjavax.mail.Authenticator
      extended bycom.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

Constructor Summary
EMailAuthenticator()
          Implement the required constructor
 
Method Summary
protected  javax.mail.PasswordAuthentication getPasswordAuthentication()
          Implement the required getPasswordAuthentication method by using the appropriate config values
 void setDBName(String newDBName)
           
 void setPassword(String newPassword)
           
 void setUser(String user)
           
 
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

EMailAuthenticator

public EMailAuthenticator()
Implement the required constructor

Method Detail

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 -

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.