|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityContextHolderStrategy
A strategy for storing security context information against a thread.
The preferred strategy is loaded by SecurityContextHolder
.
Method Summary | |
---|---|
void |
clearContext()
Clears the current context. |
SecurityContext |
getContext()
Obtains the current context. |
void |
setContext(SecurityContext context)
Sets the current context. |
Method Detail |
---|
void clearContext()
SecurityContext getContext()
null
- create a default implementation if necessary)void setContext(SecurityContext 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)
|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |