This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
where to put users/passwords for wsad web application?
redirection on login
Optimizing Session tracking code.
Using form based authentication and Struts
Security Maintenance