Package org.apache.camel.component.mail
Class DefaultAuthenticator
- java.lang.Object
-
- javax.mail.Authenticator
-
- org.apache.camel.component.mail.MailAuthenticator
-
- org.apache.camel.component.mail.DefaultAuthenticator
-
public class DefaultAuthenticator extends MailAuthenticator
MailAuthenticator
that supplies username and password
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticator(String username, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.mail.PasswordAuthentication
getPasswordAuthentication()
Returns an authenticator object for use in sessions
-
-
-
Method Detail
-
getPasswordAuthentication
public javax.mail.PasswordAuthentication getPasswordAuthentication()
Returns an authenticator object for use in sessions- Overrides:
getPasswordAuthentication
in classMailAuthenticator
-
-