javax.wbem.client
Class PasswordCredential
java.lang.Object
javax.wbem.client.PasswordCredential
- public class PasswordCredential
- extends java.lang.Object
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 and the host name of the system
where the password was used to authenticate its associated UserPrincipal.
- Since:
- JSR48 1.0.0
Constructor Summary |
PasswordCredential(java.lang.String userPassword)
This constructor accepts the user login password. |
Method Summary |
java.lang.String |
getUserPassword()
Return the user login password in clear text. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_PASSWORD_SIZE
public static final int MAX_PASSWORD_SIZE
- maximum size of a password
- See Also:
- Constant Field Values
PasswordCredential
public PasswordCredential(java.lang.String userPassword)
- This constructor accepts the user login password.
- Parameters:
userPassword
- The user login password in clear text.
getUserPassword
public java.lang.String getUserPassword()
- Return the user login password in clear text.
- Returns:
- The user login password.
Java™ WBEM (JSR48) 1.0.0 API