public interface SecurityExpressionOperations
Modifier and Type | Method and Description |
---|---|
boolean |
denyAll() |
Authentication |
getAuthentication() |
boolean |
hasAnyAuthority(String... authorities) |
boolean |
hasAnyRole(String... roles) |
boolean |
hasAuthority(String authority) |
boolean |
hasPermission(Object target,
Object permission) |
boolean |
hasPermission(Object targetId,
String targetType,
Object permission) |
boolean |
hasRole(String role) |
boolean |
isAnonymous() |
boolean |
isAuthenticated() |
boolean |
isFullyAuthenticated() |
boolean |
isRememberMe() |
boolean |
permitAll() |
Authentication getAuthentication()
boolean hasAuthority(String authority)
boolean hasAnyAuthority(String... authorities)
boolean hasRole(String role)
boolean hasAnyRole(String... roles)
boolean permitAll()
boolean denyAll()
boolean isAnonymous()
boolean isAuthenticated()
boolean isRememberMe()
boolean isFullyAuthenticated()