javax.wbem.client
Class PasswordCredential

java.lang.Object
  extended by 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

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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PASSWORD_SIZE

public static final int MAX_PASSWORD_SIZE
maximum size of a password

See Also:
Constant Field Values
Constructor Detail

PasswordCredential

public PasswordCredential(String userPassword)
This constructor accepts the user login password.

Parameters:
userPassword - The user login password in clear text.
Method Detail

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.