Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBCRealm for an application, not entire server

 
Curtis Nelson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic