Remove the useAuthorizationManager=true attribute from @EnableReactiveMethodSecurity

MSAL

In Spring security 6.0, @EnableReactiveMethodSecurity defaults useAuthorizationManager to true. So, to complete migration, @EnableReactiveMethodSecurity remove the useAuthorizationManager attribute.

org.openrewrite.java.spring.security6.UpdateEnableReactiveMethodSecurity
mod run . --recipe=org.openrewrite.java.spring.security6.UpdateEnableReactiveMethodSecurity

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.