Migrate to Spring Security 6.4
MSALMigrate applications to the latest Spring Security 6.4 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_4mod run . --recipe= org. openrewrite. java. spring. security6. UpgradeSpringSecurity_6_4Install 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.4.x - Upgrade Gradle or Maven dependency versions
org.springframework.security:spring-security-oauth2-authorization-server:1.4.x - Change method name
org.springframework.security.config.annotation.web.configurers.HeadersConfigurer permissionsPolicy(org.springframework.security.config.Customizer)topermissionsPolicyHeader