|
Spring Security Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityContext
Interface defining the minimum security information associated with the current thread of execution.
The security context is stored in a SecurityContextHolder.
| Method Summary | |
|---|---|
Authentication |
getAuthentication()
Obtains the currently authenticated principal, or an authentication request token. |
void |
setAuthentication(Authentication authentication)
Changes the currently authenticated principal, or removes the authentication information. |
| Method Detail |
|---|
Authentication getAuthentication()
Authentication or null if no authentication information is availablevoid setAuthentication(Authentication authentication)
authentication - the new Authentication token, or null if no further
authentication information should be stored
|
Spring Security Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||