File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple authenticaion in Tomcat 5.x

 
Kartik Ruppa
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to have a username/passwd authentication for my web application running on Tomcat 5.x.

Can somebody tell me how to achieve this.

Thanks in advnace!
Kartik
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/realm.html

And it wouldn't hurt to brush up on the appropriate section of the servlet specification.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic