Summary: | UserDatabaseRealm enhacement: may use local JNDI | ||
---|---|---|---|
Product: | Tomcat 8 | Reporter: | Michal Domagala <outsider404> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | 8.0.x-trunk | ||
Target Milestone: | ---- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: |
Patch
sample XML file with user definition sample application |
Description
Michal Domagala
2013-09-14 22:16:08 UTC
Created attachment 30842 [details]
sample XML file with user definition
Created attachment 30843 [details]
sample application
Proposed test: 1. Copy the sample XML file to $(TOMCAT)/conf directory and name it example-users.xml 2. Deploy sample application and try to open. If everything is OK, browser ask you for username and password and only q/qq will be accepted, as defined is sample XML file After all this time, and the various refactorings, the proposed patch needed quite a few changes. I ended up using the DataSourcRealm as a base instead but this is now implemented. Fixed in: - master for 10.0.0-M10 onwards - 9.0.x for 9.0.40 onwards - 8.5.x for 8.5.60 onwards |