| org.acegisecurity.context.SecurityContext
All known Subclasses: org.acegisecurity.context.SecurityContextImpl,
SecurityContext | public interface SecurityContext extends Serializable(Code) | | Interface defining the minimum security information associated with the
current thread of execution.
The security context is stored in a
SecurityContextHolder .
author: Ben Alex version: $Id: SecurityContext.java 1784 2007-02-24 21:00:24Z luke_t $ |
getAuthentication | Authentication getAuthentication()(Code) | | Obtains the currently authenticated principal, or an authentication request token.
the Authentication or null if no authentication information is available |
setAuthentication | void setAuthentication(Authentication authentication)(Code) | | Changes the currently authenticated principal, or removes the authentication information.
Parameters: authentication - the new Authentication token, or null if no furtherauthentication information should be stored |
|
|