Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This guide shows how to configure a user/pass authentication for a specific webapp. How can I configure Tomcat to require a global user/pass for all the webapps?

share|improve this question
up vote 2 down vote accepted

Have not tried this, but you should be able to put the security constraints in the global web.xml, instead of the web.xml inside your webapp. Then, they will apply to all the webapps. The global web.xml is under (tomcat_root)/conf

share|improve this answer
    
Thanks, works like a charm – ripper234 Nov 19 '10 at 18:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.