Class AdminCheckInterceptor
- java.lang.Object
-
- 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
Constructors Constructor Description AdminCheckInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(org.aopalliance.intercept.MethodInvocation invocation)
void
setPermissionManager(PermissionManager permissionManager)
-
-
-
Method Detail
-
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
- Specified by:
invoke
in interfaceorg.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
-
setPermissionManager
public void setPermissionManager(PermissionManager permissionManager)
-
-