javax.wbem.client

Class 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. 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 intMAX_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.

Field Detail

MAX_PASSWORD_SIZE

public static final int MAX_PASSWORD_SIZE
Maximum size of a password.

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 © 2005, 2009 IBM Corporation. All Rights Reserved.