Class AdminCheckInterceptor

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    public class AdminCheckInterceptor
    extends Object
    implements org.aopalliance.intercept.MethodInterceptor
    Check that all calls through this interceptor are performed by a user with administration permissions.
    • Constructor Detail

      • AdminCheckInterceptor

        public AdminCheckInterceptor()
    • Method Detail

      • invoke

        public Object invoke​(org.aopalliance.intercept.MethodInvocation invocation)
                      throws Throwable
        Specified by:
        invoke in interface org.aopalliance.intercept.MethodInterceptor
        Throws:
        Throwable
      • setPermissionManager

        public void setPermissionManager​(PermissionManager permissionManager)