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, getRequestingSite
protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class Authenticator
PasswordAuthentication
object containing the
login information.Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.