thanks. It looks like all the instructions are the same, which is good. I think
I editted everything thing according to the instructions, but I still get the
same thing. If I comment out the security-constraint in the web.xml file and
leave all the jboss-web.xml uncommented I can access the page again, but with
no security. I am listing the contents of the stated files along with their
absolute path (sorry in advance for the length). thanks for the help - Tim
here is the web.xml C:\Program
Files\jboss-4.0.4.GA\server\default\deploy\jmx-console.war\WEB-INF\web-xml
<!-- A security constraint that restricts access to the HTML JMX console
to users with the role JBossAdmin. Edit the roles to what you want and
uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
secured access to the HTML JMX console.
<security-constraint>
<web-resource-collection>
<web-resource-name>HtmlAdaptor</web-resource-name>
An example security config that only allows users with the
role JBossAdmin to access the HTML JMX console web application
<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>
<security-constraint>
<web-resource-collection>
<web-resource-name>Public</web-resource-name>
<url-pattern>/public/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
</security-constraint>
-->
C:\Program
Files\jboss-4.0.4.GA\server\default\deploy\jmx-console.war\WEB-INF\jboss-web.xml:
<jboss-web>
<!-- Uncomment the security-domain to enable security. You will
need to edit the htmladaptor login configuration to setup the
login modules used to authentication users.
-->
<security-domain>java:/jaas/jmx-console</security-domain>
</jboss-web
C:\Program
Files\jboss-4.0.4.GA\server\default\conf\props\jmx-console-roles.properties
# A sample users.properties file for use with the UsersRolesLoginModule
admin=JBossAdmin,HttpInvoke
C:\Program
Files\jboss-4.0.4.GA\server\default\conf\props\jmx-console-users.properties
# A sample users.properties file for use with the UsersRolesLoginModule
admin=admin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950675#3950675
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950675
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user