File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
subject: Run tomcat with security
It's not a secret anymore!