com.metamatrix.common.comm.platform.socket.server
Class AdminAuthorizationInterceptor
java.lang.Object
com.metamatrix.common.comm.platform.socket.server.AdminAuthorizationInterceptor
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class AdminAuthorizationInterceptor
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
Call authorization service to make sure the current admin user has the
proper admin role(s) to perform the method.
Method Summary |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminAuthorizationInterceptor
public AdminAuthorizationInterceptor(IAdminHelper authorizationService,
AdminMethodRoleResolver methodNames,
ServerAdmin serverAdmin)
- Ctor.
- Parameters:
securityContextFactory
- authorizationService
- methodNames
- - Since:
- 4.3
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Parameters:
invocation
- securityContext
-
- Throws:
AuthorizationException
MetaMatrixProcessingException
java.lang.Throwable
- Since:
- 4.3
Copyright © 2009. All Rights Reserved.