This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Tomcat and the fly likes JDBCRealm for an application, not entire server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBCRealm for an application, not entire server" Watch "JDBCRealm for an application, not entire server" New topic
Author

JDBCRealm for an application, not entire server

Curtis Nelson
Greenhorn

Joined: Dec 11, 2004
Posts: 5
Hi,

I'm trying to configure Tomcat to do FORM authentication for different applications, where each application has it's own 'users' database.

In reading the Tomcat docs, it talks about adding the JDBC Realm to the <context> portion of server.xml instead of the <engine> section. I have not had any luck in this approach, and was hoping someone could tell me how to add a <context> entry to server.xml that allows for this setup?

Thanks,

Curtis
 
 
subject: JDBCRealm for an application, not entire server