public class OAuthMethodSecurityExpressionHandler
extends org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
Constructor and Description |
---|
OAuthMethodSecurityExpressionHandler() |
Modifier and Type | Method and Description |
---|---|
static boolean |
consumerHasAnyRole(org.springframework.security.access.expression.SecurityExpressionRoot root,
String... roles) |
org.springframework.expression.spel.support.StandardEvaluationContext |
createEvaluationContextInternal(org.springframework.security.core.Authentication auth,
org.aopalliance.intercept.MethodInvocation mi) |
static boolean |
isOAuthConsumerAuth(org.springframework.security.access.expression.SecurityExpressionRoot root) |
createSecurityExpressionRoot, filter, getDefaultRolePrefix, getParameterNameDiscoverer, getTrustResolver, setDefaultRolePrefix, setParameterNameDiscoverer, setPermissionCacheOptimizer, setReturnObject, setTrustResolver
createEvaluationContext, getExpressionParser, getPermissionEvaluator, getRoleHierarchy, setApplicationContext, setExpressionParser, setPermissionEvaluator, setRoleHierarchy
public OAuthMethodSecurityExpressionHandler()
public org.springframework.expression.spel.support.StandardEvaluationContext createEvaluationContextInternal(org.springframework.security.core.Authentication auth, org.aopalliance.intercept.MethodInvocation mi)
createEvaluationContextInternal
in class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
public static boolean consumerHasAnyRole(org.springframework.security.access.expression.SecurityExpressionRoot root, String... roles)
public static boolean isOAuthConsumerAuth(org.springframework.security.access.expression.SecurityExpressionRoot root)
Copyright © 2019. All rights reserved.