public class SessionManager
extends org.apache.shiro.web.session.mgt.DefaultWebSessionManager
| 构造器和说明 |
|---|
SessionManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkValid(org.apache.shiro.session.mgt.SessionKey key) |
protected org.apache.shiro.session.Session |
doCreateSession(org.apache.shiro.session.mgt.SessionContext context) |
Object |
getAttribute(org.apache.shiro.session.mgt.SessionKey sessionKey,
Object attributeKey) |
Collection<Object> |
getAttributeKeys(org.apache.shiro.session.mgt.SessionKey key) |
String |
getHost(org.apache.shiro.session.mgt.SessionKey key) |
Date |
getLastAccessTime(org.apache.shiro.session.mgt.SessionKey key) |
Date |
getStartTimestamp(org.apache.shiro.session.mgt.SessionKey key) |
long |
getTimeout(org.apache.shiro.session.mgt.SessionKey key) |
protected org.apache.shiro.session.Session |
newSessionInstance(org.apache.shiro.session.mgt.SessionContext context) |
Object |
removeAttribute(org.apache.shiro.session.mgt.SessionKey sessionKey,
Object attributeKey) |
protected org.apache.shiro.session.Session |
retrieveSession(org.apache.shiro.session.mgt.SessionKey sessionKey) |
void |
setAttribute(org.apache.shiro.session.mgt.SessionKey sessionKey,
Object attributeKey,
Object value) |
void |
setTimeout(org.apache.shiro.session.mgt.SessionKey key,
long maxIdleTimeInMillis) |
org.apache.shiro.session.Session |
start(org.apache.shiro.session.mgt.SessionContext context) |
void |
stop(org.apache.shiro.session.mgt.SessionKey key) |
void |
touch(org.apache.shiro.session.mgt.SessionKey key) |
void |
validateSessions() |
createExposedSession, createExposedSession, getSessionId, getSessionId, getSessionIdCookie, isServletContainerSessions, isSessionIdCookieEnabled, isSessionIdUrlRewritingEnabled, onExpiration, onInvalidation, onStart, onStop, setSessionIdCookie, setSessionIdCookieEnabled, setSessionIdUrlRewritingEnabledafterExpired, afterStopped, create, delete, getActiveSessions, getSessionDAO, getSessionFactory, isDeleteInvalidSessions, onChange, onExpiration, onStop, retrieveSessionFromDataSource, setCacheManager, setDeleteInvalidSessions, setSessionDAO, setSessionFactoryafterSessionValidationEnabled, beforeSessionValidationDisabled, createSession, createSessionValidationScheduler, destroy, disableSessionValidation, doGetSession, doValidate, enableSessionValidation, getSessionValidationInterval, getSessionValidationScheduler, getTimeout, isSessionValidationSchedulerEnabled, setSessionValidationInterval, setSessionValidationScheduler, setSessionValidationSchedulerEnabled, validateapplyGlobalSessionTimeout, beforeInvalidNotification, getSession, getSessionListeners, isValid, notifyExpiration, notifyStart, notifyStop, setSessionListenersgetGlobalSessionTimeout, setGlobalSessionTimeoutpublic void validateSessions()
validateSessions 在接口中 org.apache.shiro.session.mgt.ValidatingSessionManagervalidateSessions 在类中 org.apache.shiro.session.mgt.AbstractValidatingSessionManagerprotected org.apache.shiro.session.Session retrieveSession(org.apache.shiro.session.mgt.SessionKey sessionKey)
retrieveSession 在类中 org.apache.shiro.session.mgt.DefaultSessionManagerpublic Date getStartTimestamp(org.apache.shiro.session.mgt.SessionKey key)
getStartTimestamp 在接口中 org.apache.shiro.session.mgt.NativeSessionManagergetStartTimestamp 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic Date getLastAccessTime(org.apache.shiro.session.mgt.SessionKey key)
getLastAccessTime 在接口中 org.apache.shiro.session.mgt.NativeSessionManagergetLastAccessTime 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic long getTimeout(org.apache.shiro.session.mgt.SessionKey key)
getTimeout 在接口中 org.apache.shiro.session.mgt.NativeSessionManagergetTimeout 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic void setTimeout(org.apache.shiro.session.mgt.SessionKey key,
long maxIdleTimeInMillis)
setTimeout 在接口中 org.apache.shiro.session.mgt.NativeSessionManagersetTimeout 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic void touch(org.apache.shiro.session.mgt.SessionKey key)
touch 在接口中 org.apache.shiro.session.mgt.NativeSessionManagertouch 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic String getHost(org.apache.shiro.session.mgt.SessionKey key)
getHost 在接口中 org.apache.shiro.session.mgt.NativeSessionManagergetHost 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic Collection<Object> getAttributeKeys(org.apache.shiro.session.mgt.SessionKey key)
getAttributeKeys 在接口中 org.apache.shiro.session.mgt.NativeSessionManagergetAttributeKeys 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic Object getAttribute(org.apache.shiro.session.mgt.SessionKey sessionKey, Object attributeKey)
getAttribute 在接口中 org.apache.shiro.session.mgt.NativeSessionManagergetAttribute 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic void setAttribute(org.apache.shiro.session.mgt.SessionKey sessionKey,
Object attributeKey,
Object value)
setAttribute 在接口中 org.apache.shiro.session.mgt.NativeSessionManagersetAttribute 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic Object removeAttribute(org.apache.shiro.session.mgt.SessionKey sessionKey, Object attributeKey)
removeAttribute 在接口中 org.apache.shiro.session.mgt.NativeSessionManagerremoveAttribute 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic void stop(org.apache.shiro.session.mgt.SessionKey key)
stop 在接口中 org.apache.shiro.session.mgt.NativeSessionManagerstop 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerpublic void checkValid(org.apache.shiro.session.mgt.SessionKey key)
checkValid 在接口中 org.apache.shiro.session.mgt.NativeSessionManagercheckValid 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerprotected org.apache.shiro.session.Session doCreateSession(org.apache.shiro.session.mgt.SessionContext context)
doCreateSession 在类中 org.apache.shiro.session.mgt.DefaultSessionManagerprotected org.apache.shiro.session.Session newSessionInstance(org.apache.shiro.session.mgt.SessionContext context)
newSessionInstance 在类中 org.apache.shiro.session.mgt.DefaultSessionManagerpublic org.apache.shiro.session.Session start(org.apache.shiro.session.mgt.SessionContext context)
start 在接口中 org.apache.shiro.session.mgt.SessionManagerstart 在类中 org.apache.shiro.session.mgt.AbstractNativeSessionManagerCopyright © 2018. All rights reserved.