Migrate to Spring Security 5.7
MSALMigrate applications to the latest Spring Security 5.7 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.
org. openrewrite. java. spring. security5. UpgradeSpringSecurity_5_7mod run . --recipe= org. openrewrite. java. spring. security5. UpgradeSpringSecurity_5_7Install 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.
- Upgrade Gradle or Maven dependency versions
org.springframework.security:*:5.7.x - Upgrade Gradle or Maven dependency versions
org.springframework.security:spring-security-oauth2-authorization-server:0.3.x - Spring Security 5.4 introduces the ability to configure
HttpSecurityby creating aSecurityFilterChainbean