public class DefaultAuthenticator
extends javax.mail.Authenticator
Constructor and Description |
---|
DefaultAuthenticator(String userName,
String password)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected javax.mail.PasswordAuthentication |
getPasswordAuthentication()
Gets the authentication object that will be used to login to the mail
server.
|
protected javax.mail.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class javax.mail.Authenticator
PasswordAuthentication
object containing the
login information.Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.