|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.wbem.client.PasswordCredential
public class PasswordCredential
PasswordCredential implements a password based credential. This is used with UserPrincipal. PasswordCredential includes the password and optionally the host information for which the password is used to authenticate the UserPrincipal.
UserPrincipal
Constructor Summary | |
---|---|
PasswordCredential(char[] userPassword)
Creates a PasswordCredential using the supplied password |
|
PasswordCredential(String userPassword)
Creates a PasswordCredential using the supplied password |
|
PasswordCredential(String userPassword,
String hostname)
Creates a PasswordCredential using the supplied password |
Method Summary | |
---|---|
String |
getHostName()
Get the host name for which the password is used to authenticate |
char[] |
getUserPassword()
Return the user login password in clear text. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasswordCredential(char[] userPassword)
userPassword
- The user login password in clear text.public PasswordCredential(String userPassword)
userPassword
- The user login password in clear text.public PasswordCredential(String userPassword, String hostname)
userPassword
- The user login password in clear text.hostname
- The hostname information for which the password is used to
authenticateMethod Detail |
---|
public String getHostName()
public char[] getUserPassword()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |