File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes JDBCRealm and Multiple Webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBCRealm and Multiple Webapps" Watch "JDBCRealm and Multiple Webapps" New topic

JDBCRealm and Multiple Webapps

Ron Rea

Joined: Jul 03, 2001
Posts: 23
I am trying to run multiple webapps, each accessing its own database, under one instance of Tomcat. Both webapps use JDBCRealm, with each database having its own USERS and USERROLES table.
Is there a way to setup Tomcat so that each webapp will authenticate against it's own USERS/USERROLES tables?
I agree. Here's the link:
subject: JDBCRealm and Multiple Webapps
jQuery in Action, 3rd edition