public class DefaultAuthenticator extends Authenticator
| Constructor and Description |
|---|
DefaultAuthenticator(String userName,
String password)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected PasswordAuthentication |
getPasswordAuthentication()
Gets the authentication object that will be used to login to the mail
server.
|
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSiteprotected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class AuthenticatorPasswordAuthentication object containing the
login information.Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.