@Deprecated public class CacheSessionDAO extends org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO implements SessionDAO
| Constructor and Description |
|---|
CacheSessionDAO()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Serializable |
doCreate(org.apache.shiro.session.Session session)
Deprecated.
|
protected void |
doDelete(org.apache.shiro.session.Session session)
Deprecated.
|
protected org.apache.shiro.session.Session |
doReadSession(Serializable sessionId)
Deprecated.
|
protected void |
doUpdate(org.apache.shiro.session.Session session)
Deprecated.
|
Collection<org.apache.shiro.session.Session> |
getActiveSessions(boolean includeLeave)
Deprecated.
获取活动会话
|
Collection<org.apache.shiro.session.Session> |
getActiveSessions(boolean includeLeave,
Object principal,
org.apache.shiro.session.Session filterSession)
Deprecated.
获取活动会话
|
org.apache.shiro.session.Session |
readSession(Serializable sessionId)
Deprecated.
|
cache, cache, create, createActiveSessionsCache, delete, getActiveSessions, getActiveSessionsCache, getActiveSessionsCacheName, getCachedSession, getCachedSession, getCacheManager, setActiveSessionsCache, setActiveSessionsCacheName, setCacheManager, uncache, updateassignSessionId, generateSessionId, getSessionIdGenerator, setSessionIdGeneratorprotected Serializable doCreate(org.apache.shiro.session.Session session)
doCreate in class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAOprotected void doDelete(org.apache.shiro.session.Session session)
doDelete in class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAOprotected org.apache.shiro.session.Session doReadSession(Serializable sessionId)
doReadSession in class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAOprotected void doUpdate(org.apache.shiro.session.Session session)
doUpdate in class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAOpublic 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.CachingSessionDAOorg.apache.shiro.session.UnknownSessionExceptionpublic Collection<org.apache.shiro.session.Session> getActiveSessions(boolean includeLeave)
includeLeave - 是否包括离线public Collection<org.apache.shiro.session.Session> getActiveSessions(boolean includeLeave, Object principal, org.apache.shiro.session.Session filterSession)
includeLeave - 是否包括离线principal - 根据登录者对象获取活动会话filterSession - 不为空,则过滤掉(不包含)这个会话。Copyright © 2020. All rights reserved.