net.sourceforge.hivelock
Class UserContextStorageImpl
java.lang.Object
net.sourceforge.hivelock.UserContextStorageImpl
- All Implemented Interfaces:
- java.util.EventListener, UserContextStorage, UserEventListener
public class UserContextStorageImpl
- extends java.lang.Object
- implements UserContextStorage, UserEventListener
Method Summary |
void |
clear()
|
java.lang.Object |
get(java.lang.String key)
|
void |
put(java.lang.String key,
java.lang.Object value)
|
void |
userConnected(java.security.Principal user)
|
void |
userDisconnected(java.security.Principal user,
boolean forced)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserContextStorageImpl
public UserContextStorageImpl(org.apache.commons.logging.Log logger,
SecurityService security)
userConnected
public void userConnected(java.security.Principal user)
- Specified by:
userConnected
in interface UserEventListener
userDisconnected
public void userDisconnected(java.security.Principal user,
boolean forced)
- Specified by:
userDisconnected
in interface UserEventListener
clear
public void clear()
- Specified by:
clear
in interface UserContextStorage
get
public java.lang.Object get(java.lang.String key)
- Specified by:
get
in interface UserContextStorage
put
public void put(java.lang.String key,
java.lang.Object value)
- Specified by:
put
in interface UserContextStorage