frhack opened a new pull request, #1389:
URL: https://github.com/apache/syncope/pull/1389

   This overrides CAS' configuration refresh listener in the WA starter so 
refresh still eagerly resolves beans, but no longer manually calls 
`DispatcherServlet.init()` without a `ServletConfig`.
   
   The root cause is tracked upstream in CAS:
   https://github.com/apereo/cas/pull/8974
   
   Syncope 3.0.x currently depends on CAS 6.6.x, and that CAS release line is 
EOL, so this keeps Syncope WA protected without waiting for a usable upstream 
CAS release on the 6.6 line.
   
   Changes:
   - Add a WA-specific `casConfigurationEventListener` bean.
   - Preserve CAS refresh/rebind behavior.
   - Remove the special-case manual `DispatcherServlet` initialization.
   - Add a regression test verifying that `dispatcherServlet` is resolved but 
not reinitialized.
   
   Tests:
   - `/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]

Reply via email to