org.apache.shiro.aspectj
Class AspectjAnnotationsAuthorizingMethodInterceptor

java.lang.Object
  extended by org.apache.shiro.aop.MethodInterceptorSupport
      extended by org.apache.shiro.authz.aop.AuthorizingMethodInterceptor
          extended by org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
              extended by 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 aspectj JoinPoint into a MethodInvocation 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
AspectjAnnotationsAuthorizingMethodInterceptor()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.