Package org.apache.shiro.session.mgt
SessionManager components supporting enterprise session management.-
Interface Summary Interface Description NativeSessionManager ANativesession manager is one that manages sessions natively - that is, it is directly responsible for the creation, persistence and removal ofSessioninstances and their lifecycles.SessionContext ASessionContextis a 'bucket' of data presented to aSessionFactorywhich interprets this data to constructSessioninstances.SessionFactory A simple factory class that instantiates concreteSessioninstances.SessionKey ASessionKeyis a key that allows look-up of any particularSessioninstance.SessionManager A SessionManager manages the creation, maintenance, and clean-up of all applicationSessions.SessionValidationScheduler Interface that should be implemented by classes that can control validating sessions on a regular basis.ValidatingSession AValidatingSessionis aSessionthat 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 theNativeSessionManagerinterface, supportingSessionListeners and application of theglobalSessionTimeout.AbstractSessionManager Base abstract class of theSessionManagerinterface, enabling configuration of an application-wideglobalSessionTimeout.AbstractValidatingSessionManager Default business-tier implementation of theValidatingSessionManagerinterface.DefaultSessionContext Default implementation of theSessionContextinterface which provides getters and setters that wrap interaction with the underlying backing context map.DefaultSessionKey Default implementation of theSessionKeyinterface, which allows setting and retrieval of a concretesessionIdthat theSessionManagerimplementation can use to look up aSessioninstance.DefaultSessionManager Default business-tier implementation of aValidatingSessionManager.DelegatingSession A DelegatingSession is a client-tier representation of a server sideSession.ExecutorServiceSessionValidationScheduler SessionValidationScheduler implementation that uses aScheduledExecutorServiceto callValidatingSessionManager.validateSessions()everyintervalmilliseconds.ImmutableProxiedSession Implementation of theSessioninterface that proxies anotherSession, but does not allow any 'write' operations to the underlying session.SimpleSession SimpleSessionJavaBeans-compatible POJO implementation, intended to be used on the business/server tier.SimpleSessionFactory SessionFactoryimplementation that generatesSimpleSessioninstances.