java.lang.Object | |
↳ | org.springframework.security.core.context.SecurityContextImpl |
Base implementation of SecurityContext
.
Used by default by SecurityContextHolder
strategies.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains the currently authenticated principal, or an authentication request token.
| |||||||||||
Changes the currently authenticated principal, or removes the authentication information.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.core.context.SecurityContext
|
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
|
---|