Spring Security 5.4 introduces the ability to configure HttpSecurity by creating a SecurityFilterChain bean
MSALThe Spring Security WebSecurityConfigurerAdapter was deprecated 5.7, this recipe will transform WebSecurityConfigurerAdapter classes by using a component based approach. Check out the spring-security-without-the-websecurityconfigureradapter blog for more details.
org. openrewrite. java. spring. security5. WebSecurityConfigurerAdaptermod run . --recipe= org. openrewrite. java. spring. security5. WebSecurityConfigurerAdapterInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.