ok, is there an easy way to require authentication to access a
particular webapp, without modifying the war file?
Caldarale, Charles R wrote:
From: Jurn Ho [mailto:j...@magicmonster.com]
Subject: security-constraint in conf/web.xml
Is it possible to move this config into the conf/web.xml instead?
I have tried this but the security-constraint affects other webapps.
Which is exactly what conf/web.xml is supposed to do - it provides settings for
*all* webapps. Why did you expect something different?
I've tried changing the url-pattern to "/MyApp/*" but that
doesn't work.
Also expected; why did you think it would? Read the servlet spec; the webapp
path is not part of the URL pattern for a security constraint.
- Chuck