This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
Consider Paul's rocket mass heater.
subject: JDBCRealm and Multiple Webapps
Similar Threads
Configuring multiple instances of tomcat in eclipse using tomcat plugin
JDBCRealm - different configuration for different deployed webapps
Can Tomcat serve apps on two different IP addesses, both on port 80
Local webapp users
Tomcat: how to admin users / group / roles into SQL database ??