Class AspectjAnnotationsAuthorizingMethodInterceptor

  • All Implemented Interfaces:
    org.apache.shiro.aop.MethodInterceptor

    public class AspectjAnnotationsAuthorizingMethodInterceptor
    extends org.apache.shiro.authz.aop.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
    • 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.