Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Security & JAAS/JBoss] - <web-resource-name> in
 web.xml

scott.stark@jboss.org

2007-03-26


Hello,

let me take as example the JAAS-config of web-console. In the file web.xml there's a block of code:


|   <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</descript
| ion>
|        <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>
|

My question: What is the <web-resource-name>, in this case above HtmlAdaptor? Can I insert here whatever I want or is it a reference to a setting in an other config?

Regards from Berlin

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031602#4031602

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031602
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.