tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Rosenberg <>
Subject making security constraints configureable
Date Thu, 03 Nov 2011 17:10:25 GMT

I have a situation where an application is accessable from outside in
staging and production environment, but shouldn't be open for public
in staging environment.
What we did so far was, that we excluded everyone via web.xml:

        <!-- security configuration -->
        <!-- /security configuration -->

Is there any possibility to make this conditional, depending on an
environment property? Is there any other opportunity to achieve the
Currently we have to kill the above lines from web.xml after each
deployment and this sucks ;-(


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message