Skip to content

Create sample demonstrating Spring Security upgrades through OpenRewrite #154

Description

@timtebeek

OpenRewrite supports various upgrade recipes related to Spring Security:
https://docs.openrewrite.org/reference/recipes/java/spring/security5
https://docs.openrewrite.org/reference/recipes/java/spring/security6
These can be run individually to upgrade to Spring Boot 5.8 or 6.0, or be run as part of a Sping Boot 3 Migration.

A new sample module can be added that contains a deliberately outdated Spring Security application, which is then upgraded automatically through a simple command:

mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
  -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:LATEST \
  -Drewrite.activeRecipes=org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions