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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic PasswordAuthentication(java.lang.String userName, java.lang.String password)
userName - the usernamepassword - the passwordpublic java.lang.String getUserName()
public java.lang.String getPassword()