Package com.alachisoft.ncache.client
Class Credentials
- java.lang.Object
-
- com.alachisoft.ncache.client.Credentials
-
public class Credentials extends java.lang.ObjectClass 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.StringgetPassword()Gets the password for the credentials.java.lang.StringgetUserID()Gets the user Id for the credentials.voidsetPassword(java.lang.String value)Sets the password for the credentials.voidsetUserID(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.
-
-