Interface CurrentUserProxy
- All Known Implementing Classes:
 CurrentUserProxyImpl
Deprecated.
Provides access to the authenticated user attached to the request or current thread.
 Requires the authenticated principal to be of type 
User, calls to isAuthenticated() should
 return false if that is not the case.
 
 Unless you are only interested in User authentications,
 favour the more generic CurrentSecurityPrincipalProxy instead.- See Also:
 - 
CurrentSecurityPrincipalProxy
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Deprecated.getId()Deprecated.getUser()Deprecated.Deprecated.booleanhasAuthority(String authority) Deprecated.booleanhasAuthority(org.springframework.security.core.GrantedAuthority authority) Deprecated.booleanhasPermission(Permission permission) Deprecated.booleanhasPermission(String name) Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanisMemberOf(Group group) Deprecated. 
- 
Method Details
- 
getId
Long getId()Deprecated. - 
getEmail
String getEmail()Deprecated. - 
getUsername
String getUsername()Deprecated. - 
isMemberOf
Deprecated. - 
hasRole
Deprecated. - 
hasRole
Deprecated. - 
hasPermission
Deprecated. - 
hasPermission
Deprecated. - 
hasAuthority
Deprecated. - 
hasAuthority
boolean hasAuthority(org.springframework.security.core.GrantedAuthority authority) Deprecated. - 
getUser
User getUser()Deprecated. - 
isAuthenticated
boolean isAuthenticated()Deprecated. 
 - 
 
CurrentSecurityPrincipalProxyinstead