Remove calls matching AuthenticationEntryPointFailureHandler.setRethrowAuthenticationServiceException(true)

MSAL

Remove any calls matching AuthenticationEntryPointFailureHandler.setRethrowAuthenticationServiceException(true). See the corresponding Spring Security 6.0 migration step for details.

org.openrewrite.java.spring.security6.PropagateAuthenticationServiceExceptions
mod run . --recipe=org.openrewrite.java.spring.security6.PropagateAuthenticationServiceExceptions

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.