File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBCRealm login authentication in TOMCAT

 
Eric Bic
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html#JDBCRealm
Thanks in advance
Sarah
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic