Spring Boot 4.1 type relocations

Proprietary

Relocate types that Spring Boot 4.1 moved to a different package. The OAuth2 resource server auto-configuration and its JwkSetUriJwtDecoderBuilderCustomizer moved out of the servlet package, now that the resource server auto-configuration also applies outside servlet web applications.

io.moderne.java.spring.boot4.ModuleStarterRelocations_4_1
mod run . --recipe=io.moderne.java.spring.boot4.ModuleStarterRelocations_4_1

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. Change type org.springframework.boot.security.oauth2.server.resource.autoconfigure.servlet.OAuth2ResourceServerAutoConfiguration to org.springframework.boot.security.oauth2.server.resource.autoconfigure.OAuth2ResourceServerAutoConfiguration
  2. Change type org.springframework.boot.security.oauth2.server.resource.autoconfigure.servlet.JwkSetUriJwtDecoderBuilderCustomizer to org.springframework.boot.security.oauth2.server.resource.autoconfigure.JwkSetUriJwtDecoderBuilderCustomizer