|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javax.wbem.client.PasswordCredential
This class implements a password based credential for a user login authentication. It should be used in conjunction with the UserPrincipal instance. It contains a user login password.
| Field Summary | |
static int |
MAX_PASSWORD_SIZE
|
static byte[] |
NULL_PASSWORD
|
| Constructor Summary | |
PasswordCredential()
Empty constructor. |
|
PasswordCredential(java.lang.String userPassword)
This constructor accepts the user login password. |
|
| Method Summary | |
void |
clearUserPassword()
Clear the user login password. |
java.lang.String |
getUserPassword()
Return the user login password in clear text. |
void |
setUserPassword(java.lang.String userPassword)
Set the user login password. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MAX_PASSWORD_SIZE
public static final byte[] NULL_PASSWORD
| Constructor Detail |
public PasswordCredential()
public PasswordCredential(java.lang.String userPassword)
userPassword - The user login password in clear text.| Method Detail |
public java.lang.String getUserPassword()
public void setUserPassword(java.lang.String userPassword)
userPassword - The user login password in clear text.public void clearUserPassword()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||