@Service @Deprecated public class CurrentUserProxyImpl extends Object implements CurrentUserProxy
| Constructor and Description |
|---|
CurrentUserProxyImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEmail()
Deprecated.
|
Long |
getId()
Deprecated.
|
User |
getUser()
Deprecated.
|
String |
getUsername()
Deprecated.
|
boolean |
hasAuthority(org.springframework.security.core.GrantedAuthority authority)
Deprecated.
|
boolean |
hasAuthority(String authority)
Deprecated.
|
boolean |
hasPermission(Permission permission)
Deprecated.
|
boolean |
hasPermission(String name)
Deprecated.
|
boolean |
hasRole(Role role)
Deprecated.
|
boolean |
hasRole(String authority)
Deprecated.
|
boolean |
isAuthenticated()
Deprecated.
|
boolean |
isMemberOf(Group group)
Deprecated.
|
public Long getId()
getId in interface CurrentUserProxypublic String getEmail()
getEmail in interface CurrentUserProxypublic String getUsername()
getUsername in interface CurrentUserProxypublic boolean isMemberOf(Group group)
isMemberOf in interface CurrentUserProxypublic boolean hasRole(String authority)
hasRole in interface CurrentUserProxypublic boolean hasRole(Role role)
hasRole in interface CurrentUserProxypublic boolean hasPermission(String name)
hasPermission in interface CurrentUserProxypublic boolean hasPermission(Permission permission)
hasPermission in interface CurrentUserProxypublic boolean hasAuthority(String authority)
hasAuthority in interface CurrentUserProxypublic boolean hasAuthority(org.springframework.security.core.GrantedAuthority authority)
hasAuthority in interface CurrentUserProxypublic User getUser()
getUser in interface CurrentUserProxypublic boolean isAuthenticated()
isAuthenticated in interface CurrentUserProxyCopyright © 2020. All rights reserved.