Migrate to Spring Security 7.0
ProprietaryMigrate applications to the latest Spring Security 7.0 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. It first applies the Spring Security 6.5 migration, then the OpenRewrite Spring Security 7.0 migration, then the Moderne migrations (request matchers, DaoAuthenticationProvider, OAuth2 clients, removed throws clauses, Authorization Server package moves), and finally adds spring-security-access where needed.
io. moderne. java. spring. security7. UpgradeSpringSecurity_7_0mod run . --recipe= io. moderne. java. spring. security7. UpgradeSpringSecurity_7_0Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.