public class DefaultAuthenticator extends MailAuthenticator
Authenticator
that supplies username and passwordConstructor and Description |
---|
DefaultAuthenticator(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
javax.mail.PasswordAuthentication |
getPasswordAuthentication()
Returns an authenticator object for use in sessions
|
public javax.mail.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class MailAuthenticator
Apache Camel