当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
AuthorizationInterceptor (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.jmx.connector.invoker
Class AuthorizationInterceptor
java.lang.Object
org.jboss.mx.interceptor.AbstractInterceptor
org.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
Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor |
isShared, log, name |
Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor |
destroy, getName, init, isShared, setLogger, setName, start, stop, toString |
AuthorizationInterceptor
public AuthorizationInterceptor()
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.