public final class PasswordAuthentication
extends java.lang.Object
Constructor and Description |
---|
PasswordAuthentication(java.lang.String userName,
java.lang.String password)
Creates a new password authentication
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword()
Returns the password.
|
java.lang.String |
getUserName()
Returns the username.
|