public class DefaultAuthenticator
extends javax.mail.Authenticator
Authenticator that supplies username and password| Constructor 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 | 
Apache Camel