|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.portlet.cv.UserPasswordCredential
public class UserPasswordCredential
This class is used to store the user name and password for credentials.
| Field Summary | |
|---|---|
static String |
CLASSNAME
The CLASSNAME string contains the package and class of the instance of the class being used. |
static String |
Copyright
The HATSCopyright.COPYRIGHT field will be updated each release, thereby updating this class file. |
| Constructor Summary | |
|---|---|
UserPasswordCredential()
Constructor for creating a UserPasswordCredential object. |
|
UserPasswordCredential(String user,
char[] password)
Constructor for creating a UserPasswordCredential object. |
|
UserPasswordCredential(String user,
String password)
Constructor for creating a UserPasswordCredential object. |
|
| Method Summary | |
|---|---|
String |
getPassword()
Returns the password string for the credential. |
String |
getUser()
Returns the user name string for the credential. |
void |
setPassword(char[] password)
Sets the password for the credential. |
void |
setPassword(String password)
Sets the password for the credential. |
void |
setUser(String user)
Sets the user name for the credential. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String Copyright
public static final String CLASSNAME
| Constructor Detail |
|---|
public UserPasswordCredential()
public UserPasswordCredential(String user,
String password)
user - the identification string for the userpassword - the password or key associated with the user confirming the credential as a string
public UserPasswordCredential(String user,
char[] password)
user - the identification string for the userpassword - the password or key associated with the user confirming the credential as a character array| Method Detail |
|---|
public void setUser(String user)
user - the identification string for the userpublic void setPassword(char[] password)
password - the password or key associated with the user confirming the credential as a character arraypublic void setPassword(String password)
password - the password or key associated with the user confirming the credential as a stringpublic String getUser()
public String getPassword()
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||