File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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
 
wood burning stoves
 
subject: JDBCRealm for an application, not entire server
 
Similar Threads
When calling https://www.myhost.com tomcat says 'The requested resource / is not available'.
Apache cannot recognize folder
tomcat 6 - how to define context root name diff than WAR file name
tomcat problem
Session ID