frhack opened a new pull request, #1390: URL: https://github.com/apache/syncope/pull/1390
This is the `4_1_X` version of #1389, following the review feedback there. The PR defines the WA-specific `casConfigurationEventListener` bean directly in `WAContext`, so it is picked up by Spring runtime, and keeps the same eager/non-lazy refresh listener contract as CAS. The listener preserves CAS refresh/rebind behavior, but avoids manually invoking `DispatcherServlet.init()` during refresh. In Syncope WA that servlet has no `ServletConfig` at that point, which can trigger the `IllegalStateException` reported in SYNCOPE-1758. Upstream CAS root cause fix: https://github.com/apereo/cas/pull/8974 Tested with: ``` /tmp/maven/apache-maven-3.9.11/bin/mvn -pl wa/starter -am -Dtest=WACasConfigurationEventListenerTest -Dsurefire.failIfNoSpecifiedTests=false test ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
