Remove unnecessary use-authorization-manager for message security in Spring Security 6

MSAL

In Spring Security 6, <websocket-message-broker> defaults use-authorization-manager to true. So, the use-authorization-manager attribute for message security is no longer needed and can be removed.

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

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 XML attribute