Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

How to get hold of security information from web.xml

Peter Coppens

2007-03-05

Replies:


Gentlepeople,

I am trying to add a bit of extra security at the application level. I would
like to leverage the information that is defined in the security-constraint
(et al) web.xml settings.

I found the things I need in org.apache.catalina.deploy but I can not get
bootstrapped from the information I have access to in my doGet/doPost
methods.

So I have two questions

1. Is it correct there is no standard way to access the security-constraint
et al settings from the deployment xml file?
2. Is there a tomcat proprietary way to get hold of this information from
within a doGet/doPost method?

Thanks!

Peter


--
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.