This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Tomcat and the fly likes JDBCRealm login authentication in TOMCAT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBCRealm login authentication in TOMCAT" Watch "JDBCRealm login authentication in TOMCAT" New topic

JDBCRealm login authentication in TOMCAT

Eric Bic

Joined: Apr 12, 2004
Posts: 7
Hi, im trying to create a login page using the JDBCRealm, in other words i have a table on my database with usernames and passwords which will be used to authenticate users trying to login, ive understood how to create the table and jsp page for the login, but how do i know if the user has be authenticated? i would like to send the user to a Welcome page or error page where he would be able to try to input the password again. im following instructions found on the apache page :
Thanks in advance
It is sorta covered in the JavaRanch Style Guide.
subject: JDBCRealm login authentication in TOMCAT
It's not a secret anymore!