org.jboss.jmx.connector.invoker
Class AuthorizationInterceptor

java.lang.Object
  extended byorg.jboss.mx.interceptor.AbstractInterceptor
      extended byorg.jboss.jmx.connector.invoker.AuthorizationInterceptor
All Implemented Interfaces:
org.jboss.mx.interceptor.Interceptor

public class AuthorizationInterceptor
extends org.jboss.mx.interceptor.AbstractInterceptor

An Interceptor that aids in providing Authorization to JMX Invocations at an MBean Operations level.

Author:
Anil Saldhana

Field Summary
 
Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor
isShared, log, name
 
Constructor Summary
AuthorizationInterceptor()
           
 
Method Summary
 Object invoke(org.jboss.mx.server.Invocation invocation)
           
 void setAuthorizingClass(String az)
          The Authorizing class must have a method called public Boolean authorize( Principal caller, String mbean,String opname )
 void setSecurityDomain(String securityDomain)
           
 
Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor
destroy, getName, init, isShared, setLogger, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorizationInterceptor

public AuthorizationInterceptor()
Method Detail

setSecurityDomain

public void setSecurityDomain(String securityDomain)

setAuthorizingClass

public void setAuthorizingClass(String az)
The Authorizing class must have a method called public Boolean authorize( Principal caller, String mbean,String opname )

Parameters:
az -

invoke

public Object invoke(org.jboss.mx.server.Invocation invocation)
              throws org.jboss.mx.server.InvocationException
Parameters:
invocation -
Returns:
Throws:
org.jboss.mx.server.InvocationException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.