| org.jboss.jmx.connector.invoker.AuthorizationInterceptor
AuthorizationInterceptor | public class AuthorizationInterceptor extends AbstractInterceptor (Code) | | An Interceptor that aids in providing Authorization to JMX Invocations
at an MBean Operations level. This must be placed after the
AuthenticationInterceptor to ensure a valid caller context exists
String msg = "Define your own class which has a method authorize with signature";
msg += "public void authorize( Principal caller, Subject subject,
String objectname,String opname)";
msg += ". And replace " + azclassname + " its name";
See Also: AuthenticationInterceptor author: Anil Saldhana author: Scott.Stark@jboss.org version: $Revision: 61376 $ |
AuthorizationInterceptor | public AuthorizationInterceptor()(Code) | | |
invoke | public Object invoke(Invocation invocation) throws Throwable(Code) | | Intercept the invoke(Invocation) operations
Parameters: invocation - throws: Throwable - |
setAuthorizingClass | public void setAuthorizingClass(Class clazz) throws Exception(Code) | | The Authorizing class must have a method called
public Boolean authorize( Principal caller, String mbean,String opname )
Parameters: clazz - |
|
|