Uses of Class
org.apache.shiro.session.InvalidSessionException
-
Packages that use InvalidSessionException Package Description org.apache.shiro.mgt Provides the masterSecurityManagerinterface and a default implementation hierarchy for managing all aspects of Shiro's functionality in an application.org.apache.shiro.session Components related to managing sessions, the time-based data contexts in which a Subject interacts with an application.org.apache.shiro.session.mgt SessionManagercomponents supporting enterprise session management. -
-
Uses of InvalidSessionException in org.apache.shiro.mgt
Methods in org.apache.shiro.mgt that throw InvalidSessionException Modifier and Type Method Description protected SessionDefaultSecurityManager. resolveContextSession(SubjectContext context) -
Uses of InvalidSessionException in org.apache.shiro.session
Subclasses of InvalidSessionException in org.apache.shiro.session Modifier and Type Class Description classExpiredSessionExceptionA special case of a StoppedSessionException.classStoppedSessionExceptionException thrown when attempting to interact with the system under a session that has been stopped.classUnknownSessionExceptionException thrown when attempting to interact with the system under the pretense of a particular session (e.g.Methods in org.apache.shiro.session that throw InvalidSessionException Modifier and Type Method Description ObjectProxiedSession. getAttribute(Object key)Immediately delegates to the underlying proxied session.ObjectSession. getAttribute(Object key)Returns the object bound to this session identified by the specified key.Collection<Object>ProxiedSession. getAttributeKeys()Immediately delegates to the underlying proxied session.Collection<Object>Session. getAttributeKeys()Returns the keys of all the attributes stored under this session.longProxiedSession. getTimeout()Immediately delegates to the underlying proxied session.longSession. getTimeout()Returns the time in milliseconds that the session session may remain idle before expiring.ObjectProxiedSession. removeAttribute(Object key)Immediately delegates to the underlying proxied session.ObjectSession. removeAttribute(Object key)Removes (unbinds) the object bound to this session under the specifiedkeyname.voidProxiedSession. setAttribute(Object key, Object value)Immediately delegates to the underlying proxied session.voidSession. setAttribute(Object key, Object value)Binds the specifiedvalueto this session, uniquely identified by the specifiedkeyname.voidProxiedSession. setTimeout(long maxIdleTimeInMillis)Immediately delegates to the underlying proxied session.voidSession. setTimeout(long maxIdleTimeInMillis)Sets the time in milliseconds that the session may remain idle before expiring.voidProxiedSession. stop()Immediately delegates to the underlying proxied session.voidSession. stop()Explicitly stops (invalidates) this session and releases all associated resources.voidProxiedSession. touch()Immediately delegates to the underlying proxied session.voidSession. touch()Explicitly updates thelastAccessTimeof this session to the current time when this method is invoked. -
Uses of InvalidSessionException in org.apache.shiro.session.mgt
Methods in org.apache.shiro.session.mgt with parameters of type InvalidSessionException Modifier and Type Method Description protected voidAbstractValidatingSessionManager. onInvalidation(Session s, InvalidSessionException ise, SessionKey key)Methods in org.apache.shiro.session.mgt that throw InvalidSessionException Modifier and Type Method Description voidAbstractNativeSessionManager. checkValid(SessionKey key)voidNativeSessionManager. checkValid(SessionKey key)Returns quietly if the associated session is valid (it exists and is not stopped or expired) or throws anInvalidSessionExceptionindicating that the session id is invalid.protected abstract SessionAbstractNativeSessionManager. doGetSession(SessionKey key)protected SessionAbstractValidatingSessionManager. doGetSession(SessionKey key)protected voidAbstractValidatingSessionManager. doValidate(Session session)ObjectAbstractNativeSessionManager. getAttribute(SessionKey sessionKey, Object attributeKey)ObjectDelegatingSession. getAttribute(Object attributeKey)ObjectNativeSessionManager. getAttribute(SessionKey sessionKey, Object attributeKey)Returns the object bound to the associated session identified by the specified attribute key.Collection<Object>DelegatingSession. getAttributeKeys()Collection<Object>SimpleSession. getAttributeKeys()longAbstractNativeSessionManager. getTimeout(SessionKey key)longDelegatingSession. getTimeout()longNativeSessionManager. getTimeout(SessionKey key)Returns the time in milliseconds that the associated session may remain idle before expiring.ObjectAbstractNativeSessionManager. removeAttribute(SessionKey sessionKey, Object attributeKey)ObjectDelegatingSession. removeAttribute(Object attributeKey)ObjectImmutableProxiedSession. removeAttribute(Object key)ImmediatelythrowsanInvalidSessionExceptionin all cases because this proxy is immutable.ObjectNativeSessionManager. removeAttribute(SessionKey sessionKey, Object attributeKey)Removes (unbinds) the object bound to associatedSessionunder the givenattributeKey.voidAbstractNativeSessionManager. setAttribute(SessionKey sessionKey, Object attributeKey, Object value)voidDelegatingSession. setAttribute(Object attributeKey, Object value)voidImmutableProxiedSession. setAttribute(Object key, Object value)ImmediatelythrowsanInvalidSessionExceptionin all cases because this proxy is immutable.voidNativeSessionManager. setAttribute(SessionKey sessionKey, Object attributeKey, Object value)Binds the specifiedvalueto the associated session uniquely identified by theattributeKey.voidAbstractNativeSessionManager. setTimeout(SessionKey key, long maxIdleTimeInMillis)voidDelegatingSession. setTimeout(long maxIdleTimeInMillis)voidImmutableProxiedSession. setTimeout(long maxIdleTimeInMillis)ImmediatelythrowsanInvalidSessionExceptionin all cases because this proxy is immutable.voidNativeSessionManager. setTimeout(SessionKey key, long maxIdleTimeInMillis)Sets the time in milliseconds that the associated session may remain idle before expiring.voidAbstractNativeSessionManager. stop(SessionKey key)voidDelegatingSession. stop()voidImmutableProxiedSession. stop()ImmediatelythrowsanInvalidSessionExceptionin all cases because this proxy is immutable.voidNativeSessionManager. stop(SessionKey key)Explicitly stops the associated session, thereby releasing all of its resources.protected voidImmutableProxiedSession. throwImmutableException()Simply throws anInvalidSessionExceptionindicating that this proxy is immutable.voidAbstractNativeSessionManager. touch(SessionKey key)voidDelegatingSession. touch()voidImmutableProxiedSession. touch()ImmediatelythrowsanInvalidSessionExceptionin all cases because this proxy is immutable.voidNativeSessionManager. touch(SessionKey key)Updates the last accessed time of the session identified bysessionId.protected voidAbstractValidatingSessionManager. validate(Session session, SessionKey key)voidSimpleSession. validate()voidValidatingSession. validate()
-