You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vinh Tran <vi...@processintelligence.com> on 2002/09/27 03:37:25 UTC

Retrieving list of Roles defined in web.xml

I would like to get a list of Roles listed in web.xml.  Is there a simple
way to retrieve info from this file or do I need to use a Digester?

 <security-constraint>
  <web-resource-collection>
   <role-name>Admin</role-name>
   <role-name>Tomcat</role-name>
   <role-name>Role1</role-name
  </auth-constraint>
 </security-constraint>

Thanks