| java.lang.Object com.lutris.appserver.server.sessionEnhydra.persistent.PersistentSessionUserTable
PersistentSessionUserTable | public class PersistentSessionUserTable implements StandardSessionUserTable(Code) | | Table used by StandardSessionManager to cross reference User
objects and sessions.
version: $Revision: 1.2 $ author: Kyle Clark |
Method Summary | |
public void | add(String sessionKey, User user) Add a session key to the user to session xref table. | public Enumeration | getSessionKeys(User user) Returns the session keys associated with a particular user.
Parameters: user - The user object to check for. | public int | numSessions(User user) Get the number of sessions for a user.
Parameters: user - The user object to check for. | public void | remove(String sessionKey, User user) Remove a session from the user to session mapping table. | public void | remove(String sessionKey) Remove a session from the user to session mapping table. | public void | shutdown() Shutdown this session user table as required. |
PersistentSessionUserTable | public PersistentSessionUserTable(Config config) throws ConfigException(Code) | | Parameters: config - configuration options for this table - currently ignored. |
add | public void add(String sessionKey, User user)(Code) | | Add a session key to the user to session xref table.
Parameters: session - The session key. Parameters: user - the user to associated with the session key. |
getSessionKeys | public Enumeration getSessionKeys(User user) throws SessionException(Code) | | Returns the session keys associated with a particular user.
Parameters: user - The user object to check for. An enumeration of the session keys associatedwith the user. exception: SessionException - if an error occurs. |
numSessions | public int numSessions(User user) throws SessionException(Code) | | Get the number of sessions for a user.
Parameters: user - The user object to check for. The count of the number of sessions associated with thisuser. exception: SessionException - if an error occurs. |
remove | public void remove(String sessionKey, User user)(Code) | | Remove a session from the user to session mapping table.
If the session is not it the table, it is ignored.
Parameters: session - The session object, with the user alreadyfilled in. |
remove | public void remove(String sessionKey)(Code) | | Remove a session from the user to session mapping table.
If the session is not it the table, it is ignored.
Parameters: session - The session object, with the user alreadyfilled in. |
shutdown | public void shutdown()(Code) | | Shutdown this session user table as required. The session
user table should not be used after this method has been called
|
|
|