org.jboss.jmx.adaptor.html
Class JMXOpsAccessControlFilter
java.lang.Object
org.jboss.jmx.adaptor.html.JMXOpsAccessControlFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class JMXOpsAccessControlFilter
- extends Object
- implements javax.servlet.Filter
JBAS-3311: Access Control on JMX Operations in the JMX Console.
Filter that allows Role Based Authorization of the various
JMX Operations. The actions that come as part of the request are:
displayMBeans
inspectMBean
updateAttributes - Operations that involve updation of jmx attributes
invokeOp - Operations that involve "invoke"
invokeOpByName
- Since:
- Jun 12, 2006
- Version:
- $Revision: 81038 $
- Author:
- Anil Saldhana
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
void |
init(javax.servlet.FilterConfig filterConfig)
|
Object |
instantiate(String delegateStr)
Instantiate The Authorization Delegate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMXOpsAccessControlFilter
public JMXOpsAccessControlFilter()
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
- See Also:
Filter.init(javax.servlet.FilterConfig)
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
- See Also:
Filter.doFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse, javax.servlet.FilterChain)
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
- See Also:
Filter.destroy()
instantiate
public Object instantiate(String delegateStr)
- Instantiate The Authorization Delegate
- Parameters:
delegateStr
-
- Returns:
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.