yes, uncomment
<security-constraint>
<web-resource-collection>
<web-resource-name>HtmlAdaptor</web-resource-name>
<description>An example security config that only allows users with the
role JBossAdmin to access the HTML JMX console web application
</description>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>JBossAdmin</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>JBoss JMX Console</realm-name>
</login-config>
<security-role>
<role-name>JBossAdmin</role-name>
</security-role>
in deploy\jmx-console.war\WEB-INF\web.xml
and
<security-domain>java:/jaas/jmx-console</security-domain>
in deploy\jmx-console.war\WEB-INF\jboss-web.xml
then you can setup login with properties file in deploy\jmx-console.war\WEB-INF\classes
julien
SS> Hey all,
SS> I am using jboss-3.0.0 and wants to have the authentication mechanism
SS> for JMX management browser. Right now, anybody can go to
SS> http://<jboss_ip>:8082/ and can perform any kind of operation like
SS> removing all messages from queues, removing beans etc.
SS> Is it possible when somebody access jmx management browser, a login
SS> window pops up for username and password??
SS> Any ideas??
SS> Sanjeev
SS> -------------------------------------------------------
SS> This SF.net email is sponsored by: ValueWeb:
SS> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
SS> No other company gives more support or power for your dedicated server
SS> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
SS> _______________________________________________
SS> JBoss-user mailing list
SS> [EMAIL PROTECTED]
SS> https://lists.sourceforge.net/lists/listinfo/jboss-user
--
Best regards,
julien mailto:[EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user