I can also manage if there is a simple way to identify the roles a user
particpates in (using container managed security). There is a call for
isUserInRole() but nothing for getUserRoles()?

Any ideas?

Thanks.

-----Original Message-----
From: Vinh Tran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 9:37 PM
To: [EMAIL PROTECTED]
Subject: 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


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to