File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes FORM based authentication 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "FORM based authentication" Watch "FORM based authentication" New topic

FORM based authentication

sandeep sandeep

Joined: Mar 19, 2003
Posts: 2
Is there any way I can use FORM based authentication when username,password and roles are stored in Database, as I don't want to use tomcat-user.xml or any server specific user list file.
Mark Bensing
Ranch Hand

Joined: Mar 09, 2003
Posts: 40
Yes. Look at the Realm HOW-TO in the Tomcat documentation.
sandeep sandeep

Joined: Mar 19, 2003
Posts: 2
Thanx Mark
It really worked!!!
I agree. Here's the link:
subject: FORM based authentication
It's not a secret anymore!