com.alachisoft.jvcache.web.security
Class SecurityParams

java.lang.Object
  extended by com.alachisoft.jvcache.web.security.SecurityParams

public class SecurityParams
extends java.lang.Object

Information holder class that provides the Security Parameters.


Constructor Summary
SecurityParams(java.lang.String userId, java.lang.String password)
          Creates an instance of the SecurityParams.
 
Method Summary
 java.lang.String getPassword()
          The password.
 java.lang.String getUserID()
          returns the user id.
static SecurityParams[] loadFromConfig(java.lang.String cacheId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityParams

public SecurityParams(java.lang.String userId,
                      java.lang.String password)
Creates an instance of the SecurityParams.

Parameters:
userId - User Id
password - Passwrod
Method Detail

getUserID

public java.lang.String getUserID()
returns the user id.

Returns:
The User ID

getPassword

public java.lang.String getPassword()
The password.

Returns:
Password

loadFromConfig

public static SecurityParams[] loadFromConfig(java.lang.String cacheId)
                                       throws ConfigurationException
Throws:
ConfigurationException