Package org.apache.shiro.session.mgt
SessionManager
components supporting enterprise session management.-
Interface Summary Interface Description NativeSessionManager ANative
session manager is one that manages sessions natively - that is, it is directly responsible for the creation, persistence and removal ofSession
instances and their lifecycles.SessionContext ASessionContext
is a 'bucket' of data presented to aSessionFactory
which interprets this data to constructSession
instances.SessionFactory A simple factory class that instantiates concreteSession
instances.SessionKey ASessionKey
is a key that allows look-up of any particularSession
instance.SessionManager A SessionManager manages the creation, maintenance, and clean-up of all applicationSession
s.SessionValidationScheduler Interface that should be implemented by classes that can control validating sessions on a regular basis.ValidatingSession AValidatingSession
is aSession
that is capable of determining it is valid or not and is able to validate itself if necessary.ValidatingSessionManager A ValidatingSessionManager is a SessionManager that can proactively validate any or all sessions that may be expired. -
Class Summary Class Description AbstractNativeSessionManager Abstract implementation supporting theNativeSessionManager
interface, supportingSessionListener
s and application of theglobalSessionTimeout
.AbstractSessionManager Base abstract class of theSessionManager
interface, enabling configuration of an application-wideglobalSessionTimeout
.AbstractValidatingSessionManager Default business-tier implementation of theValidatingSessionManager
interface.DefaultSessionContext Default implementation of theSessionContext
interface which provides getters and setters that wrap interaction with the underlying backing context map.DefaultSessionKey Default implementation of theSessionKey
interface, which allows setting and retrieval of a concretesessionId
that theSessionManager
implementation can use to look up aSession
instance.DefaultSessionManager Default business-tier implementation of aValidatingSessionManager
.DelegatingSession A DelegatingSession is a client-tier representation of a server sideSession
.ExecutorServiceSessionValidationScheduler SessionValidationScheduler implementation that uses aScheduledExecutorService
to callValidatingSessionManager.validateSessions()
everyinterval
milliseconds.ImmutableProxiedSession Implementation of theSession
interface that proxies anotherSession
, but does not allow any 'write' operations to the underlying session.SimpleSession SimpleSession
JavaBeans-compatible POJO implementation, intended to be used on the business/server tier.SimpleSessionFactory SessionFactory
implementation that generatesSimpleSession
instances.