java.net.PasswordAuthentication , jakarta.mail.Authenticator , jakarta.mail.Authenticator#getPasswordAuthentication()
| Access | Constructor and Description |
|---|---|
| public | PasswordAuthentication(String
the user name userName, String The user's password password)Initialize a new PasswordAuthentication |
| password | back to summary |
|---|---|
| private final String password | |
| userName | back to summary |
|---|---|
| private final String userName | |
| PasswordAuthentication | back to summary |
|---|---|
| public PasswordAuthentication(String userName, String password) Initialize a new PasswordAuthentication | |
| getPassword | back to summary |
|---|---|
public String getPassword()
| |
| getUserName | back to summary |
|---|---|
public String getUserName()
| |