javax.wbem.client
Class PasswordCredential
java.lang.Object
javax.wbem.client.PasswordCredential
public class PasswordCredential
- extends Object
This class implements a password based credential for a user login
authentication. It should be used in conjunction with the UserPrincipal
instance.
- Since:
- JSR48 1.0.0
|
Method Summary |
char[] |
getUserPassword()
Return the user login password in clear text. |
MAX_PASSWORD_SIZE
public static final int MAX_PASSWORD_SIZE
- maximum size of a password
- See Also:
- Constant Field Values
PasswordCredential
public PasswordCredential(String userPassword)
- This constructor accepts the user login password.
- Parameters:
userPassword - The user login password in clear text.
getUserPassword
public char[] getUserPassword()
- Return the user login password in clear text.
- Returns:
- The user login password.
Copyright © 2002-2007 WBEM Solutions, Inc. All Rights Reserved.