| Package | Description |
|---|---|
| org.apache.shiro.web.session.mgt | |
| org.apache.shiro.web.subject |
Web-specific
Subject interfaces to enable
Subject use in web environments.
|
| org.apache.shiro.web.subject.support |
Supporting implementations of
org.apache.shiro.web.subject package interfaces.
|
| 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.
|
class |
WebSessionKey
A
SessionKey implementation that also retains the
ServletRequest and
ServletResponse associated with the web request that is performing the session lookup.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WebSubject
A
WebSubject represents a Subject instance that was acquired as a result of an incoming
ServletRequest.
|
interface |
WebSubjectContext
A
WebSubjectContext is a
SubjectContext that additionally provides for type-safe methods to set and retrieve a
ServletRequest and
ServletResponse.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultWebSubjectContext
Default
WebSubjectContext implementation that provides for additional storage and retrieval of a
ServletRequest and
ServletResponse.
|
class |
WebDelegatingSubject
Default
WebSubject implementation that additional ensures the ability to retain a servlet request/response pair to be used by internal shiro components as necessary during the request execution.
|