org.springframework.security.oauth.provider.expression
Class OAuthMethodSecurityExpressionHandler
java.lang.Object
org.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
org.springframework.security.oauth.provider.expression.OAuthMethodSecurityExpressionHandler
- All Implemented Interfaces:
- org.springframework.aop.framework.AopInfrastructureBean, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.security.access.expression.method.MethodSecurityExpressionHandler, org.springframework.security.access.expression.SecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
public class OAuthMethodSecurityExpressionHandler
- extends org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
- Author:
- Ryan Heaton, Dave Syer
| Fields inherited from class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler |
logger |
|
Method Summary |
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)
|
| Methods inherited from class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler |
createSecurityExpressionRoot, filter, setParameterNameDiscoverer, setPermissionCacheOptimizer, setReturnObject |
| Methods inherited from class org.springframework.security.access.expression.AbstractSecurityExpressionHandler |
createEvaluationContext, getExpressionParser, getPermissionEvaluator, getRoleHierarchy, setApplicationContext, setExpressionParser, setPermissionEvaluator, setRoleHierarchy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.security.access.expression.SecurityExpressionHandler |
createEvaluationContext, getExpressionParser |
OAuthMethodSecurityExpressionHandler
public OAuthMethodSecurityExpressionHandler()
createEvaluationContextInternal
public org.springframework.expression.spel.support.StandardEvaluationContext createEvaluationContextInternal(org.springframework.security.core.Authentication auth,
org.aopalliance.intercept.MethodInvocation mi)
- Overrides:
createEvaluationContextInternal in class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
consumerHasAnyRole
public static boolean consumerHasAnyRole(org.springframework.security.access.expression.SecurityExpressionRoot root,
String... roles)
isOAuthConsumerAuth
public static boolean isOAuthConsumerAuth(org.springframework.security.access.expression.SecurityExpressionRoot root)
Copyright © 2013. All rights reserved.