@Singleton public class SecuredAnnotationRule extends AbstractSecurityRule
Secured annotation.| Modifier and Type | Field and Description | 
|---|---|
static Integer | 
ORDER
The order of the rule. 
 | 
DENY_ALL, IS_ANONYMOUS, IS_AUTHENTICATEDHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier and Type | Method and Description | 
|---|---|
SecurityRuleResult | 
check(HttpRequest request,
     RouteMatch routeMatch,
     Map<String,Object> claims)
Returns  
SecurityRuleResult.UNKNOWN if the Secured annotation is not
 found on the method or class, or if the route match is not method based. | 
int | 
getOrder()  | 
compareRoles, getRolespublic static final Integer ORDER
public SecurityRuleResult check(HttpRequest request, @Nullable RouteMatch routeMatch, @Nullable Map<String,Object> claims)
SecurityRuleResult.UNKNOWN if the Secured annotation is not
 found on the method or class, or if the route match is not method based.request - The current requestrouteMatch - The matched routeclaims - The claims from the token. Null if not authenticatedSecurityRuleResultpublic int getOrder()