com.atlassian.confluence.test.rpc
Class AdminCheckInterceptor

java.lang.Object
  extended by com.atlassian.confluence.test.rpc.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 Summary
AdminCheckInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)


Copyright © 2003-2013 Atlassian. All Rights Reserved.