0 Replies Latest reply on Mar 26, 2007 10:27 AM by Karsten Becker

    <web-resource-name> in web.xml

    Karsten Becker Newbie

      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