I have been using Tomcat's JDBCRealm authentication for my webapps. However, now I need to deploy a new webapp on the same tomcat. This new webapp also needs JDBCRealm authentication but the database is different then the one that is alredy configured. Is it possible to use different databases for different web applications deployed on tomcat? I cannot find any solution here. Can anyone help?
Thanks, that was quick! As far as I understand I need to cut out the realm tag from tomcat's conf/ server.xml file, and place it in the context tag in each of my app META-INF/context.xml files. Am I right?
Joined: Sep 21, 2011
There, or in the conf/Catalina/localhost directory - wherever it makes more sense to keep the <Context> information.