Hello, I just started trying out JBoss. Got a problem when I configure the security service.
I uncommented the security-constraint part in the web.xml file according to the start guide so the last part of the file looks like this: <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> --> <security-role> <role-name>JBossAdmin</role-name> </security-role> I also configured security domain in jboss-web.xml, application policy in conf/login-config.xml and changed username and password in conf/prop/jmx-console-users.properties after I've done all that I'm expecting JBoss to ask me username and password when I reconnect to the JMX console. Instead I get the following error message: Message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. What have I done wrong? Why isn't JBoss prompting me for entering login information? Thanks in advance for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952464#3952464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952464 All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user