jQuery in Action, 3rd edition
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Run tomcat with security" Watch "Run tomcat with security" New topic

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.
It is sorta covered in the JavaRanch Style Guide.
subject: Run tomcat with security
It's not a secret anymore!