Migrate to Spring Security 6.5

Proprietary

Migrate applications to the latest Spring Security 6.5 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.

io.moderne.java.spring.security6.UpgradeSpringSecurity_6_5
mod run . --recipe=io.moderne.java.spring.security6.UpgradeSpringSecurity_6_5

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. Migrate to Spring Security 6.5
  2. Migrate from Spring Security OAuth to Spring Security
  3. Rename package name org.springframework.security.rsa.crypto to org.springframework.security.crypto.encrypt
  4. Change Gradle or Maven dependency org.springframework.security:spring-security-rsa
  5. Migrate AntPathRequestMatcher to PathPatternRequestMatcher