public class AuthorizationAttributeSourceAdvisor
extends org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
| Modifier and Type | Field and Description |
|---|---|
protected SecurityManager |
securityManager |
| Constructor and Description |
|---|
AuthorizationAttributeSourceAdvisor()
Create a new AuthorizationAttributeSourceAdvisor.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityManager |
getSecurityManager() |
boolean |
matches(Method method,
Class targetClass)
Returns true if the method has any Shiro annotations, false otherwise.
|
void |
setSecurityManager(SecurityManager securityManager) |
getAdvice, getOrder, getPointcut, isPerInstance, setAdvice, setOrderprotected SecurityManager securityManager
public AuthorizationAttributeSourceAdvisor()
public SecurityManager getSecurityManager()
public void setSecurityManager(SecurityManager securityManager)
public boolean matches(Method method, Class targetClass)
method - the method to check for a Shiro annotationtargetClass - the class potentially declaring Shiro annotationsMethodMatcher.matches(java.lang.reflect.Method, Class)Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.