I've making my own JNDIRealm and my web application has various protected zones. In my JNDIRealm I would like to retrieve the parameters from web.xml (<security-constraint> subelements) related with the protected zones.

For example, in web.xml file I have the following lines:

   <security-constraint>
      <web-resource-collection>
         <web-resource-name>Private Zone 1</web-resource-name>
      ...
      </web-resource-collection>
      ...
   </security-constraint>

   <security-constraint>
      <web-resource-collection>
         <web-resource-name>Private Zone 2</web-resource-name>
      ...
      </web-resource-collection>
      ...
   </security-constraint>

In my JNDIRealm I would like to distinguish the different zones for the <web-resource-name> subelement for to make different things. How I can to retrieve this subelement when my application is running??

Thanks.


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



Reply via email to