Package com.alachisoft.ncache.client
Class Credentials
- java.lang.Object
-
- com.alachisoft.ncache.client.Credentials
-
public class Credentials extends java.lang.Object
Class that provides the security parameters for authorization.
-
-
Constructor Summary
Constructors Constructor Description Credentials()
Credentials(java.lang.String userId, java.lang.String password)
Creates an instance of the Credentials.
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
getUserID
public java.lang.String getUserID()
Gets the user id for the credentials.- Returns:
- The user-id in form of a string.
-
setUserID
public void setUserID(java.lang.String value)
Sets the user id for the credentials.- Parameters:
value
- The user-id in form of a string.
-
getPassword
public java.lang.String getPassword()
Gets the password for the credentials.- Returns:
- The password in form of a string.
-
setPassword
public void setPassword(java.lang.String value)
Sets the password for the credentials.- Parameters:
value
- The password in form of a string.
-
-