Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.