org.jboss.jmx.connector.invoker
Class AuthenticationInterceptor

java.lang.Object
  extended byorg.jboss.mx.interceptor.AbstractInterceptor (src) 
      extended byorg.jboss.jmx.connector.invoker.AuthenticationInterceptor
All Implemented Interfaces:
Interceptor (src)

public final class AuthenticationInterceptor
extends AbstractInterceptor (src)

A security interceptor that requires an authorized user for invoke(Invocation) operation calls when the SecurityDomain and SecurityMgr attributes are specified. Access to attributes and the MBeanInfo are not intercepted.

See Also:
Interceptor (src)

Field Summary
 
Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor (src)
isShared, log, name
 
Constructor Summary
AuthenticationInterceptor()
           
 
Method Summary
 java.lang.Object invoke(Invocation (src)  invocation)
          The default invoke implementation queries the invocation object for the next interceptor in the chain.
 void setSecurityDomain(java.lang.String securityDomain)
           
 
Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor (src)
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

AuthenticationInterceptor

public AuthenticationInterceptor()
Method Detail

setSecurityDomain

public void setSecurityDomain(java.lang.String securityDomain)
                       throws java.lang.Exception
Throws:
java.lang.Exception

invoke

public java.lang.Object invoke(Invocation (src)  invocation)
                        throws java.lang.Throwable
Description copied from class: AbstractInterceptor (src)
The default invoke implementation queries the invocation object for the next interceptor in the chain. If one exists, it is invoked. Otherwise the invocation is dispatched to the target object.

Concrete implementations should override this method to implement their specific application logic.

Specified by:
invoke in interface Interceptor (src)
Overrides:
invoke in class AbstractInterceptor (src)
Parameters:
invocation -
Returns:
Throws:
java.lang.Throwable
See Also:
Invocation (src) , MBeanInvoker (src)