See Also:
Serialized Form
Obtains the currently authenticated principal, or an authentication request token.
Changes the currently authenticated principal, or removes the authentication
information.
getAuthentication
Obtains the currently authenticated principal, or an authentication request token.
Specified by:
getAuthentication
in interface
SecurityContext
Returns:
the
Authentication
or
null
if no authentication
information is available
setAuthentication
Changes the currently authenticated principal, or removes the authentication
information.
Specified by:
setAuthentication
in interface
SecurityContext
Parameters:
authentication
- the new
Authentication
token, or
null
if no further authentication information should be stored