Uses of Interface
org.apache.shiro.session.mgt.SessionContext
-
Packages that use SessionContext 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.mgt SessionManager
components supporting enterprise session management.org.apache.shiro.subject.support Concrete support implementations of most of theorg.apache.shiro.subject
interfaces.org.apache.shiro.web.mgt Components supporting web-specificSecurityManager
implementations.org.apache.shiro.web.session.mgt org.apache.shiro.web.subject.support Supporting implementations oforg.apache.shiro.web.subject
package interfaces. -
-
Uses of SessionContext in org.apache.shiro.mgt
Methods in org.apache.shiro.mgt that return SessionContext Modifier and Type Method Description protected SessionContext
DefaultSecurityManager. createSessionContext(SubjectContext subjectContext)
Methods in org.apache.shiro.mgt with parameters of type SessionContext Modifier and Type Method Description Session
SessionsSecurityManager. start(SessionContext context)
-
Uses of SessionContext in org.apache.shiro.session.mgt
Classes in org.apache.shiro.session.mgt that implement SessionContext Modifier and Type Class Description class
DefaultSessionContext
Default implementation of theSessionContext
interface which provides getters and setters that wrap interaction with the underlying backing context map.Methods in org.apache.shiro.session.mgt with parameters of type SessionContext Modifier and Type Method Description protected Session
AbstractNativeSessionManager. createExposedSession(Session session, SessionContext context)
protected abstract Session
AbstractNativeSessionManager. createSession(SessionContext context)
Creates a newSession Session
instance based on the specified (possiblynull
) initialization data.protected Session
AbstractValidatingSessionManager. createSession(SessionContext context)
Session
SessionFactory. createSession(SessionContext initData)
Creates a newSession
instance based on the specified contextual initialization data.Session
SimpleSessionFactory. createSession(SessionContext initData)
Creates a newSimpleSession
instance retaining the context'shost
if one can be found.protected abstract Session
AbstractValidatingSessionManager. doCreateSession(SessionContext initData)
protected Session
DefaultSessionManager. doCreateSession(SessionContext context)
protected Session
DefaultSessionManager. newSessionInstance(SessionContext context)
protected void
AbstractNativeSessionManager. onStart(Session session, SessionContext context)
Template method that allows subclasses to react to a new session being created.Session
AbstractNativeSessionManager. start(SessionContext context)
Session
SessionManager. start(SessionContext context)
Starts a new session based on the specified contextual initialization data, which can be used by the underlying implementation to determine how exactly to create the internal Session instance. -
Uses of SessionContext in org.apache.shiro.subject.support
Methods in org.apache.shiro.subject.support that return SessionContext Modifier and Type Method Description protected SessionContext
DelegatingSubject. createSessionContext()
-
Uses of SessionContext in org.apache.shiro.web.mgt
Methods in org.apache.shiro.web.mgt that return SessionContext Modifier and Type Method Description protected SessionContext
DefaultWebSecurityManager. createSessionContext(SubjectContext subjectContext)
-
Uses of SessionContext in org.apache.shiro.web.session.mgt
Subinterfaces of SessionContext in org.apache.shiro.web.session.mgt Modifier and Type Interface Description interface
WebSessionContext
AWebSubjectContext
is aSessionContext
that additionally provides for type-safe methods to set and retrieve aServletRequest
andServletResponse
, as the request/response pair will often need to be referenced during construction of web-initiatedSession
instances.Classes in org.apache.shiro.web.session.mgt that implement SessionContext Modifier and Type Class Description class
DefaultWebSessionContext
Default implementation of theWebSessionContext
interface which provides getters and setters that wrap interaction with the underlying backing context map.Methods in org.apache.shiro.web.session.mgt with parameters of type SessionContext Modifier and Type Method Description protected Session
DefaultWebSessionManager. createExposedSession(Session session, SessionContext context)
protected Session
ServletContainerSessionManager. createSession(SessionContext sessionContext)
protected void
DefaultWebSessionManager. onStart(Session session, SessionContext context)
Stores the Session's ID, usually as a Cookie, to associate with future requests.Session
ServletContainerSessionManager. start(SessionContext context)
-
Uses of SessionContext in org.apache.shiro.web.subject.support
Methods in org.apache.shiro.web.subject.support that return SessionContext Modifier and Type Method Description protected SessionContext
WebDelegatingSubject. createSessionContext()
-