javax.wbem.client
public class PasswordCredential extends Object
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
.
Field Summary | |
---|---|
static int | MAX_PASSWORD_SIZE
Maximum size of a password. |
Constructor Summary | |
---|---|
PasswordCredential(String userPassword)
This constructor accepts the user login password.
|
Method Summary | |
---|---|
char[] | getUserPassword()
Return the user login password in clear text.
|
Parameters: userPassword - The user login password in clear text.
Returns: The user login password.