org.springframework.security.core.context.SecurityContextHolderStrategy |
A strategy for storing security context information against a thread.
The preferred strategy is loaded by SecurityContextHolder
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears the current context.
| |||||||||||
Creates a new, empty context implementation, for use by SecurityContextRepository implementations,
when creating a new context for the first time.
| |||||||||||
Obtains the current context.
| |||||||||||
Sets the current context.
|
Clears the current context.
Creates a new, empty context implementation, for use by SecurityContextRepository implementations, when creating a new context for the first time.
Obtains the current context.
null
- create a default implementation if necessary)
Sets the current context.
context | to the new argument (should never be null , although implementations must check if
null has been passed and throw an IllegalArgumentException in such cases)
|
---|