javax.wbem.client

Class RoleCredential

public class RoleCredential extends Object

This class implements a password based credential for a role. It should be used in conjunction with the RolePrincipal instance. This should only be used when a client is assuming a role on a WBEM Server that requires a password.
Constructor Summary
RoleCredential(String credential)
This constructor accepts the role credential.
Method Summary
char[]getCredential()
Return the role credential in clear text.

Constructor Detail

RoleCredential

public RoleCredential(String credential)
This constructor accepts the role credential.

Parameters: credential - The role credential in clear text.

Throws: IllegalArgumentException - If the credential is null.

Method Detail

getCredential

public char[] getCredential()
Return the role credential in clear text.

Returns: The role credential.

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.