javax.wbem.client
public class RoleCredential extends Object
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.
|
Parameters: credential - The role credential in clear text.
Throws: IllegalArgumentException -
If the credential is null
.
Returns: The role credential.