Package | Description |
---|---|
org.apache.shiro.mgt |
Provides the master
SecurityManager 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 the
org.apache.shiro.subject interfaces. |
org.apache.shiro.web.mgt |
Components supporting web-specific
SecurityManager implementations. |
org.apache.shiro.web.session.mgt | |
org.apache.shiro.web.subject.support |
Supporting implementations of
org.apache.shiro.web.subject package interfaces. |
Modifier and Type | Method and Description |
---|---|
protected SessionContext |
DefaultSecurityManager.createSessionContext(SubjectContext subjectContext) |
Modifier and Type | Method and Description |
---|---|
Session |
SessionsSecurityManager.start(SessionContext context) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSessionContext
Default implementation of the
SessionContext interface which provides getters and setters that
wrap interaction with the underlying backing context map. |
Modifier and Type | Method and Description |
---|---|
protected Session |
AbstractNativeSessionManager.createExposedSession(Session session,
SessionContext context) |
protected Session |
AbstractValidatingSessionManager.createSession(SessionContext context) |
Session |
SessionFactory.createSession(SessionContext initData)
Creates a new
Session instance based on the specified contextual initialization data. |
protected abstract Session |
AbstractNativeSessionManager.createSession(SessionContext context)
Creates a new
Session Session instance based on the specified (possibly null )
initialization data. |
Session |
SimpleSessionFactory.createSession(SessionContext initData)
Creates a new
SimpleSession instance retaining the context's
host 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.
|
Modifier and Type | Method and Description |
---|---|
protected SessionContext |
DelegatingSubject.createSessionContext() |
Modifier and Type | Method and Description |
---|---|
protected SessionContext |
DefaultWebSecurityManager.createSessionContext(SubjectContext subjectContext) |
Modifier and Type | Interface and Description |
---|---|
interface |
WebSessionContext
A
WebSubjectContext is a SessionContext that additionally provides for type-safe
methods to set and retrieve a ServletRequest and ServletResponse , as the request/response pair will
often need to be referenced during construction of web-initiated Session instances. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultWebSessionContext
Default implementation of the
WebSessionContext interface which provides getters and setters that
wrap interaction with the underlying backing context map. |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
protected SessionContext |
WebDelegatingSubject.createSessionContext() |
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.