Construct an Authenticator with the given username and
password.
Parameters: userName - username used to create a password authenticationingetPasswordAuthentication Parameters: password - username used to create a passwordauthentication in getPasswordAuthentication See Also:MailAuthenticator.getPasswordAuthentication()
Method Detail
getPasswordAuthentication
public PasswordAuthentication getPasswordAuthentication()(Code)
Return a PasswordAuthentication for the username and password
given in
the constructor.
PasswordAuthentication instantiated using the username andpassword given in the constructor