public class Credentials
extends java.lang.Object
Constructor | Description |
---|---|
Credentials() |
|
Credentials(java.lang.String userId,
java.lang.String password) |
Creates an instance of the Credentials.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getPassword() |
Gets the password for the credentials.
|
java.lang.String |
getUserID() |
Gets the user id for the credentials.
|
void |
setPassword(java.lang.String value) |
Sets the password for the credentials.
|
void |
setUserID(java.lang.String value) |
Sets the user id for the credentials.
|
public Credentials()
public Credentials(java.lang.String userId, java.lang.String password)
userId
- User id used to authenticate the user.password
- Password used to authenticate the user.public java.lang.String getUserID()
public void setUserID(java.lang.String value)
value
- The user-id in form of a string.public java.lang.String getPassword()
public void setPassword(java.lang.String value)
value
- The password in form of a string.