|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.obex.PasswordAuthentication
This class holds user name and password combinations.
| Constructor Summary | |
PasswordAuthentication(byte[] userName,
byte[] password)
Creates a new PasswordAuthentication with the user name
and password provided. |
|
| Method Summary | |
byte[] |
getPassword()
Retrieves the password. |
byte[] |
getUserName()
Retrieves the user name that was specified in the constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PasswordAuthentication(byte[] userName,
byte[] password)
PasswordAuthentication with the user name
and password provided.
userName - the user name to include; this may be nullpassword - the password to include in the response
java.lang.NullPointerException - if password is
null| Method Detail |
public byte[] getUserName()
null.
public byte[] getPassword()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||