Use setEagerFilterInit(boolean)

MSAL

org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory#setEagerInitFilters was deprecated in 2.4 and are removed in 2.6.

org.openrewrite.java.spring.boot2.MigrateUndertowServletWebServerFactorySetEagerInitFilters
mod run . --recipe=org.openrewrite.java.spring.boot2.MigrateUndertowServletWebServerFactorySetEagerInitFilters

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

Recipe list

It runs these recipes, in this order.

  1. Change method name org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory setEagerInitFilters(boolean) to setEagerFilterInit