Package org.apache.shiro.aspectj
Class AspectjAnnotationsAuthorizingMethodInterceptor
- java.lang.Object
-
- org.apache.shiro.aop.MethodInterceptorSupport
-
- org.apache.shiro.authz.aop.AuthorizingMethodInterceptor
-
- org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
-
- org.apache.shiro.aspectj.AspectjAnnotationsAuthorizingMethodInterceptor
-
- All Implemented Interfaces:
MethodInterceptor
public class AspectjAnnotationsAuthorizingMethodInterceptor extends AnnotationsAuthorizingMethodInterceptor
Extends the annotations authorizing method interceptor class hierarchie to adapt an aspectjJoinPoint
into aMethodInvocation
amd to perform the authorization of method invocations.- Since:
- 1.0
-
-
Field Summary
-
Fields inherited from class org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
methodInterceptors
-
-
Constructor Summary
Constructors Constructor Description AspectjAnnotationsAuthorizingMethodInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performBeforeInterception(org.aspectj.lang.JoinPoint aJoinPoint)
Performs the method interception of the before advice at the specified joint point.-
Methods inherited from class org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
assertAuthorized, getMethodInterceptors, setMethodInterceptors
-
Methods inherited from class org.apache.shiro.authz.aop.AuthorizingMethodInterceptor
invoke
-
Methods inherited from class org.apache.shiro.aop.MethodInterceptorSupport
getSubject
-
-
-
-
Constructor Detail
-
AspectjAnnotationsAuthorizingMethodInterceptor
public AspectjAnnotationsAuthorizingMethodInterceptor()
-
-
Method Detail
-
performBeforeInterception
protected void performBeforeInterception(org.aspectj.lang.JoinPoint aJoinPoint) throws Throwable
Performs the method interception of the before advice at the specified joint point.- Parameters:
aJoinPoint
- The joint point to intercept.- Throws:
Throwable
- If an error occurs berforming the method invocation.
-
-