public class DefaultHiggsSessionDAO
extends org.apache.shiro.session.mgt.eis.MemorySessionDAO
implements org.apache.shiro.session.mgt.eis.SessionDAO
| Modifier and Type | Field and Description |
|---|---|
protected Map<Serializable,org.apache.shiro.session.Session> |
sessions |
| Constructor and Description |
|---|
DefaultHiggsSessionDAO(String sessionDirName) |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
create(org.apache.shiro.session.Session session) |
void |
delete(org.apache.shiro.session.Session session) |
Collection<org.apache.shiro.session.Session> |
getActiveSessions() |
org.apache.shiro.session.Session |
readSession(Serializable sessionId) |
void |
update(org.apache.shiro.session.Session session) |
doCreate, doReadSession, storeSessionprotected Map<Serializable,org.apache.shiro.session.Session> sessions
public DefaultHiggsSessionDAO(String sessionDirName)
public Serializable create(org.apache.shiro.session.Session session)
create in interface org.apache.shiro.session.mgt.eis.SessionDAOcreate in class org.apache.shiro.session.mgt.eis.AbstractSessionDAOpublic org.apache.shiro.session.Session readSession(Serializable sessionId) throws org.apache.shiro.session.UnknownSessionException
readSession in interface org.apache.shiro.session.mgt.eis.SessionDAOreadSession in class org.apache.shiro.session.mgt.eis.AbstractSessionDAOorg.apache.shiro.session.UnknownSessionExceptionpublic void update(org.apache.shiro.session.Session session)
throws org.apache.shiro.session.UnknownSessionException
update in interface org.apache.shiro.session.mgt.eis.SessionDAOupdate in class org.apache.shiro.session.mgt.eis.MemorySessionDAOorg.apache.shiro.session.UnknownSessionExceptionpublic void delete(org.apache.shiro.session.Session session)
delete in interface org.apache.shiro.session.mgt.eis.SessionDAOdelete in class org.apache.shiro.session.mgt.eis.MemorySessionDAOpublic Collection<org.apache.shiro.session.Session> getActiveSessions()
getActiveSessions in interface org.apache.shiro.session.mgt.eis.SessionDAOgetActiveSessions in class org.apache.shiro.session.mgt.eis.MemorySessionDAOCopyright © 2012-2015. All Rights Reserved.