org.springframework.security.core.context.SecurityContext |
Known Indirect Subclasses |
Interface defining the minimum security information associated with the current thread of execution.
The security context is stored in a SecurityContextHolder
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains the currently authenticated principal, or an authentication request token.
| |||||||||||
Changes the currently authenticated principal, or removes the authentication information.
|
Obtains the currently authenticated principal, or an authentication request token.
Authentication
or null
if no authentication information is available
Changes the currently authenticated principal, or removes the authentication information.
authentication | the new Authentication token, or null if no further
authentication information should be stored
|
---|