Package org.apache.camel.component.mail
Class MailAuthenticator
java.lang.Object
javax.mail.Authenticator
org.apache.camel.component.mail.MailAuthenticator
- Direct Known Subclasses:
DefaultAuthenticator
public class MailAuthenticator
extends javax.mail.Authenticator
Mail authenticator that supplies username and password
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.mail.PasswordAuthentication
Override this method in your implementation.Methods inherited from class javax.mail.Authenticator
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite
-
Constructor Details
-
MailAuthenticator
public MailAuthenticator()
-
-
Method Details
-
getPasswordAuthentication
public javax.mail.PasswordAuthentication getPasswordAuthentication()Override this method in your implementation.- Overrides:
getPasswordAuthentication
in classjavax.mail.Authenticator
-