java.lang.Object
jakarta.mail.PasswordAuthentication
The class PasswordAuthentication is a data holder that is used by
Authenticator. It is simply a repository for a user name and a password.
- See Also:
-
Constructor Summary
ConstructorDescriptionPasswordAuthentication
(String userName, String password) Initialize a new PasswordAuthentication -
Method Summary
-
Constructor Details
-
PasswordAuthentication
-
-
Method Details
-
getUserName
- Returns:
- the user name
-
getPassword
- Returns:
- the password
-