Package | Description |
---|---|
org.springframework.security.access.intercept |
Abstract level security interception classes which are responsible for enforcing the
configured security constraints for a secure object.
|
org.springframework.security.core.context |
Classes related to the establishment of a security context for the duration of a request (such as
an HTTP or RMI invocation).
|
org.springframework.security.core.session |
Session abstraction which is provided by the
org.springframework.security.core.session.SessionInformation
SessionInformation class. |
org.springframework.security.web.context |
Classes which are responsible for maintaining the security context between HTTP requests.
|
org.springframework.security.web.session |
Session management filters,
HttpSession events and publisher classes. |
Modifier and Type | Method and Description |
---|---|
SecurityContext |
InterceptorStatusToken.getSecurityContext() |
Constructor and Description |
---|
InterceptorStatusToken(SecurityContext securityContext,
boolean contextHolderRefreshRequired,
Collection<ConfigAttribute> attributes,
Object secureObject) |
Modifier and Type | Class and Description |
---|---|
class |
SecurityContextImpl
Base implementation of
SecurityContext . |
Modifier and Type | Method and Description |
---|---|
SecurityContext |
SecurityContextHolderStrategy.createEmptyContext()
Creates a new, empty context implementation, for use by SecurityContextRepository implementations,
when creating a new context for the first time.
|
static SecurityContext |
SecurityContextHolder.createEmptyContext()
Delegates the creation of a new, empty context to the configured strategy.
|
SecurityContext |
SecurityContextHolderStrategy.getContext()
Obtains the current context.
|
static SecurityContext |
SecurityContextHolder.getContext()
Obtain the current
SecurityContext . |
Modifier and Type | Method and Description |
---|---|
void |
SecurityContextHolderStrategy.setContext(SecurityContext context)
Sets the current context.
|
static void |
SecurityContextHolder.setContext(SecurityContext context)
Associates a new
SecurityContext with the current thread of execution. |
Modifier and Type | Method and Description |
---|---|
abstract List<SecurityContext> |
SessionDestroyedEvent.getSecurityContexts()
Provides the
SecurityContext instances which were associated with the destroyed session. |
Modifier and Type | Method and Description |
---|---|
protected SecurityContext |
HttpSessionSecurityContextRepository.generateNewContext()
By default, calls
SecurityContextHolder.createEmptyContext() to obtain a new context (there should be
no context present in the holder when this method is called). |
SecurityContext |
NullSecurityContextRepository.loadContext(HttpRequestResponseHolder requestResponseHolder) |
SecurityContext |
SecurityContextRepository.loadContext(HttpRequestResponseHolder requestResponseHolder)
Obtains the security context for the supplied request.
|
SecurityContext |
HttpSessionSecurityContextRepository.loadContext(HttpRequestResponseHolder requestResponseHolder)
Gets the security context for the current request (if available) and returns it.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SaveContextOnUpdateOrErrorResponseWrapper.saveContext(SecurityContext context)
Implements the logic for storing the security context.
|
void |
NullSecurityContextRepository.saveContext(SecurityContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
SecurityContextRepository.saveContext(SecurityContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Stores the security context on completion of a request.
|
void |
HttpSessionSecurityContextRepository.saveContext(SecurityContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
List<SecurityContext> |
HttpSessionDestroyedEvent.getSecurityContexts() |
Copyright © 2015. All rights reserved.