|Summary:||jaspic.SimpleServerAuthConfig: erroneous "No ServerAuthModules configured"|
|Product:||Tomcat 9||Reporter:||Thomas Maslen <thomas.mpp.maslen>|
|Component:||Catalina||Assignee:||Tomcat Developers Mailing List <dev>|
|Attachments:||patch against trunk|
Description Thomas Maslen 2016-04-07 05:44:44 UTC
Created attachment 33736 [details] patch against trunk The current property-merging code in SimpleServerAuthConfig.getAuthContext() always ends up throwing a "No ServerAuthModules configured" AuthException (even when the configuration data is valid). I have attached a possible patch that works fine for me. [I generated and tested it against /tc8.5.x/trunk and have _not_ tried /trunk, i.e. Tomcat 9, but the patch should also be valid for the current /trunk].
Comment 1 Mark Thomas 2016-04-14 20:51:16 UTC
Thanks for the report and the patch. It has been committed (with a few changes and some test cases) to 9.0.x for 9.0.0.M5 onwards and 8.5.x for 8.5.1. onwards.