|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lutris.appserver.server.session.persistent.PersistentSessionUserTable
Table used by StandardSessionManager to cross reference User
objects and sessions.
Constructor Summary | |
PersistentSessionUserTable(Config config)
|
Method Summary | |
void |
add(java.lang.String sessionKey,
User user)
Add a session key to the user to session xref table. |
java.util.Enumeration |
getSessionKeys(User user)
Returns the session keys associated with a particular user. |
int |
numSessions(User user)
Get the number of sessions for a user. |
void |
remove(java.lang.String sessionKey)
Remove a session from the user to session mapping table. |
void |
remove(java.lang.String sessionKey,
User user)
Remove a session from the user to session mapping table. |
void |
shutdown()
Shutdown this session user table as required. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PersistentSessionUserTable(Config config) throws ConfigException
config
- configuration options for this table - currently ignored.Method Detail |
public void add(java.lang.String sessionKey, User user)
add
in interface StandardSessionUserTable
user
- the user to associated with the session key.public void remove(java.lang.String sessionKey, User user)
remove
in interface StandardSessionUserTable
sessionKey
- The session object, with the user already
filled in.public void remove(java.lang.String sessionKey)
remove
in interface StandardSessionUserTable
sessionKey
- The session key.public int numSessions(User user) throws SessionException
numSessions
in interface StandardSessionUserTable
user
- The user object to check for.
SessionException
- if an error occurs.public java.util.Enumeration getSessionKeys(User user) throws SessionException
getSessionKeys
in interface StandardSessionUserTable
user
- The user object to check for.
SessionException
- if an error occurs.public void shutdown()
shutdown
in interface StandardSessionUserTable
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |