This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Run tomcat with security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Run tomcat with security" Watch "Run tomcat with security" New topic
Author

Run tomcat with security

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
I have Tomcat 5.0 on my PC and I am trying to learn this product. I want to run this in security. So when I type a URL of a HTML document in webapps it should prompt me for my user id/password. I tried to put -security in Tomcat Monitor and restart it still does not prompt me for any login etc. I want to set it up as basic security model. I have all my HTML pages in webapps
really. Do I need to change server.xml or else where for it to work.
 
rocket mass heater kickstarter
 
subject: Run tomcat with security