PasswordAuthenticationpublic final class PasswordAuthentication extends Object The class PasswordAuthentication is a data holder that is used by
Authenticator. It is simply a repository for a user name and a password. |
Fields Summary |
---|
private String | userName | private String | password |
Constructors Summary |
---|
public PasswordAuthentication(String userName, String password)Initialize a new PasswordAuthentication
this.userName = userName;
this.password = password;
|
|