javax.wbem.client
Class RoleCredential
java.lang.Object
javax.wbem.client.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.
- Since:
- JSR48 1.0.0
|
Method Summary |
char[] |
getCredential()
Return the role credential in clear text. |
RoleCredential
public RoleCredential(String credential)
- This constructor accepts the role credential
- Parameters:
credential - The role credential in clear text.
- Throws:
IllegalArguementException - If the credential is null
getCredential
public char[] getCredential()
- Return the role credential in clear text.
- Returns:
- The role credential.
Copyright © 2002-2007 WBEM Solutions, Inc. All Rights Reserved.