javax.wbem.client
Class PasswordCredential

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


Field Summary
static int MAX_PASSWORD_SIZE
          Maximum size of a password.
 
Constructor Summary
PasswordCredential(java.lang.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
clone, equals, finalize, 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(java.lang.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 © 2005, 2009 IBM Corporation. All Rights Reserved.