2 <!DOCTYPE web-app PUBLIC
3 "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
4 "http://java.sun.com/dtd/web-app_2_3.dtd">
7 <description>The standard web descriptor for the html adaptor</description>
10 <filter-name>JmxOpsAccessControlFilter</filter-name>
11 <filter-class>org.jboss.jmx.adaptor.html.JMXOpsAccessControlFilter</filter-class>
13 <param-name>updateAttributes</param-name>
14 <param-value>UpdateAttributeRole</param-value>
15 <description>Comma-delimited Roles that define the JMX Operation denoting updation of Attributes</description>
18 <param-name>invokeOp</param-name>
19 <param-value>InvokeOpRole</param-value>
20 <description>Comma-delimited Roles that define the JMX Operation denoting Invocation of Operations</description>
24 <filter-name>JmxOpsAccessControlFilter</filter-name>
25 <servlet-name>HtmlAdaptor</servlet-name>
29 <servlet-name>HtmlAdaptor</servlet-name>
30 <servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>
33 <servlet-name>ClusteredConsoleServlet</servlet-name>
34 <servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
36 <param-name>jgProps</param-name>
37 <param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=${jboss.partition.udpGroup:228.1.2.3};mcast_port=${jboss.jmxconsolepartition.mcast_port:46666}):
38 org.jboss.jmx.adaptor.control.FindView
40 <description>The JGroups protocol stack config</description>
44 <servlet-name>DisplayMBeans</servlet-name>
45 <jsp-file>/displayMBeans.jsp</jsp-file>
48 <servlet-name>InspectMBean</servlet-name>
49 <jsp-file>/inspectMBean.jsp</jsp-file>
52 <servlet-name>DisplayOpResult</servlet-name>
53 <jsp-file>/displayOpResult.jsp</jsp-file>
56 <servlet-name>ClusterView</servlet-name>
57 <jsp-file>/cluster/clusterView.jsp</jsp-file>
61 <servlet-name>HtmlAdaptor</servlet-name>
62 <url-pattern>/HtmlAdaptor</url-pattern>
65 <servlet-name>ClusteredConsoleServlet</servlet-name>
66 <url-pattern>/cluster/ClusteredConsole</url-pattern>
69 <servlet-name>DisplayMBeans</servlet-name>
70 <url-pattern>/DisplayMBeans</url-pattern>
73 <servlet-name>InspectMBean</servlet-name>
74 <url-pattern>/InspectMBean</url-pattern>
77 <servlet-name>DisplayOpResult</servlet-name>
78 <url-pattern>/DisplayOpResult</url-pattern>
81 <!-- Display a generic error page when HTTP Status 500 exceptions
84 <error-code>500</error-code>
85 <location>/genericError.jsp</location>
88 <!-- A security constraint that restricts access to the HTML JMX console
89 to users with the role JBossAdmin. Edit the roles to what you want and
90 uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
91 secured access to the HTML JMX console. -->
93 <web-resource-collection>
94 <web-resource-name>HtmlAdaptor</web-resource-name>
95 <description>An example security config that only allows users with the
96 role JBossAdmin to access the HTML JMX console web application
98 <url-pattern>/*</url-pattern>
99 <http-method>GET</http-method>
100 <http-method>POST</http-method>
101 </web-resource-collection>
103 <role-name>JBossAdmin</role-name>
105 </security-constraint>
109 <auth-method>BASIC</auth-method>
110 <realm-name>JBoss JMX Console</realm-name>
114 <role-name>JBossAdmin</role-name>