Uses of Class
org.apache.shiro.session.InvalidSessionException
-
Packages that use InvalidSessionException Package Description org.apache.shiro.mgt Provides the masterSecurityManager
interface 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 SessionManager
components 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 Session
DefaultSecurityManager. resolveContextSession(SubjectContext context)
-
Uses of InvalidSessionException in org.apache.shiro.session
Subclasses of InvalidSessionException in org.apache.shiro.session Modifier and Type Class Description class
ExpiredSessionException
A special case of a StoppedSessionException.class
StoppedSessionException
Exception thrown when attempting to interact with the system under a session that has been stopped.class
UnknownSessionException
Exception 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 Object
ProxiedSession. getAttribute(Object key)
Immediately delegates to the underlying proxied session.Object
Session. 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.long
ProxiedSession. getTimeout()
Immediately delegates to the underlying proxied session.long
Session. getTimeout()
Returns the time in milliseconds that the session session may remain idle before expiring.Object
ProxiedSession. removeAttribute(Object key)
Immediately delegates to the underlying proxied session.Object
Session. removeAttribute(Object key)
Removes (unbinds) the object bound to this session under the specifiedkey
name.void
ProxiedSession. setAttribute(Object key, Object value)
Immediately delegates to the underlying proxied session.void
Session. setAttribute(Object key, Object value)
Binds the specifiedvalue
to this session, uniquely identified by the specifiedkey
name.void
ProxiedSession. setTimeout(long maxIdleTimeInMillis)
Immediately delegates to the underlying proxied session.void
Session. setTimeout(long maxIdleTimeInMillis)
Sets the time in milliseconds that the session may remain idle before expiring.void
ProxiedSession. stop()
Immediately delegates to the underlying proxied session.void
Session. stop()
Explicitly stops (invalidates) this session and releases all associated resources.void
ProxiedSession. touch()
Immediately delegates to the underlying proxied session.void
Session. touch()
Explicitly updates thelastAccessTime
of 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 void
AbstractValidatingSessionManager. onInvalidation(Session s, InvalidSessionException ise, SessionKey key)
Methods in org.apache.shiro.session.mgt that throw InvalidSessionException Modifier and Type Method Description void
AbstractNativeSessionManager. checkValid(SessionKey key)
void
NativeSessionManager. checkValid(SessionKey key)
Returns quietly if the associated session is valid (it exists and is not stopped or expired) or throws anInvalidSessionException
indicating that the session id is invalid.protected abstract Session
AbstractNativeSessionManager. doGetSession(SessionKey key)
protected Session
AbstractValidatingSessionManager. doGetSession(SessionKey key)
protected void
AbstractValidatingSessionManager. doValidate(Session session)
Object
AbstractNativeSessionManager. getAttribute(SessionKey sessionKey, Object attributeKey)
Object
DelegatingSession. getAttribute(Object attributeKey)
Object
NativeSessionManager. 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()
long
AbstractNativeSessionManager. getTimeout(SessionKey key)
long
DelegatingSession. getTimeout()
long
NativeSessionManager. getTimeout(SessionKey key)
Returns the time in milliseconds that the associated session may remain idle before expiring.Object
AbstractNativeSessionManager. removeAttribute(SessionKey sessionKey, Object attributeKey)
Object
DelegatingSession. removeAttribute(Object attributeKey)
Object
ImmutableProxiedSession. removeAttribute(Object key)
Immediatelythrows
anInvalidSessionException
in all cases because this proxy is immutable.Object
NativeSessionManager. removeAttribute(SessionKey sessionKey, Object attributeKey)
Removes (unbinds) the object bound to associatedSession
under the givenattributeKey
.void
AbstractNativeSessionManager. setAttribute(SessionKey sessionKey, Object attributeKey, Object value)
void
DelegatingSession. setAttribute(Object attributeKey, Object value)
void
ImmutableProxiedSession. setAttribute(Object key, Object value)
Immediatelythrows
anInvalidSessionException
in all cases because this proxy is immutable.void
NativeSessionManager. setAttribute(SessionKey sessionKey, Object attributeKey, Object value)
Binds the specifiedvalue
to the associated session uniquely identified by theattributeKey
.void
AbstractNativeSessionManager. setTimeout(SessionKey key, long maxIdleTimeInMillis)
void
DelegatingSession. setTimeout(long maxIdleTimeInMillis)
void
ImmutableProxiedSession. setTimeout(long maxIdleTimeInMillis)
Immediatelythrows
anInvalidSessionException
in all cases because this proxy is immutable.void
NativeSessionManager. setTimeout(SessionKey key, long maxIdleTimeInMillis)
Sets the time in milliseconds that the associated session may remain idle before expiring.void
AbstractNativeSessionManager. stop(SessionKey key)
void
DelegatingSession. stop()
void
ImmutableProxiedSession. stop()
Immediatelythrows
anInvalidSessionException
in all cases because this proxy is immutable.void
NativeSessionManager. stop(SessionKey key)
Explicitly stops the associated session, thereby releasing all of its resources.protected void
ImmutableProxiedSession. throwImmutableException()
Simply throws anInvalidSessionException
indicating that this proxy is immutable.void
AbstractNativeSessionManager. touch(SessionKey key)
void
DelegatingSession. touch()
void
ImmutableProxiedSession. touch()
Immediatelythrows
anInvalidSessionException
in all cases because this proxy is immutable.void
NativeSessionManager. touch(SessionKey key)
Updates the last accessed time of the session identified bysessionId
.protected void
AbstractValidatingSessionManager. validate(Session session, SessionKey key)
void
SimpleSession. validate()
void
ValidatingSession. validate()
-