Migrate to Spring Security 6.1
MSALMigrate applications to the latest Spring Security 6.1 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. security6. UpgradeSpringSecurity_6_1mod run . --recipe= org. openrewrite. java. spring. security6. UpgradeSpringSecurity_6_1Install 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:*:6.1.x - Upgrade Gradle or Maven dependency versions
org.springframework.security:spring-security-oauth2-authorization-server:1.1.x - Convert
OAuth2LoginConfigurerchained calls into Lambda DSL - Convert
OAuth2ClientConfigurerchained calls into Lambda DSL - Convert
OAuth2ResourceServerConfigurerchained calls into Lambda DSL