|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.PasswordAuthentication
public final class PasswordAuthentication
This class is a data structure that contains the username and password.
| Constructor Summary | |
|---|---|
PasswordAuthentication(String userName,
char[] password)
Creates an instance of a password authentication with a username and password. |
|
| Method Summary | |
|---|---|
char[] |
getPassword()
Returns the reference of the password of this class. |
String |
getUserName()
Returns the username of this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordAuthentication(String userName,
char[] password)
userName - java.lang.String the usernamepassword - char[] the password| Method Detail |
|---|
public char[] getPassword()
public String getUserName()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||