@Component(value="core_CurrentAuthentication") public class CurrentAuthenticationImpl extends java.lang.Object implements CurrentAuthentication
Constructor and Description |
---|
CurrentAuthenticationImpl() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.Authentication |
getAuthentication()
Returns current authentication object.
|
java.util.Locale |
getLocale() |
java.util.TimeZone |
getTimeZone() |
org.springframework.security.core.userdetails.UserDetails |
getUser()
Returns the authenticated user.
|
boolean |
isSet() |
public org.springframework.security.core.Authentication getAuthentication()
CurrentAuthentication
getAuthentication
in interface CurrentAuthentication
public org.springframework.security.core.userdetails.UserDetails getUser()
CurrentAuthentication
CurrentUserSubstitution
.getUser
in interface CurrentAuthentication
public java.util.Locale getLocale()
getLocale
in interface CurrentAuthentication
public java.util.TimeZone getTimeZone()
getTimeZone
in interface CurrentAuthentication
public boolean isSet()
isSet
in interface CurrentAuthentication
SecurityContext