org.apache.camel.component.mail
Class DefaultAuthenticator

java.lang.Object
  extended by javax.mail.Authenticator
      extended by org.apache.camel.component.mail.DefaultAuthenticator

public class DefaultAuthenticator
extends javax.mail.Authenticator

Mail Authenticator that supplies username and password


Constructor Summary
DefaultAuthenticator(String username, String password)
           
 
Method Summary
 javax.mail.PasswordAuthentication getPasswordAuthentication()
          Returns an authenticator object for use in sessions
 
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

DefaultAuthenticator

public DefaultAuthenticator(String username,
                            String password)
Method Detail

getPasswordAuthentication

public javax.mail.PasswordAuthentication getPasswordAuthentication()
Returns an authenticator object for use in sessions

Overrides:
getPasswordAuthentication in class javax.mail.Authenticator


Apache Camel