Use the new securityMatcher() method
MSALIn Spring Security 5.8, the HttpSecurity#antMatcher(), HttpSecurity#mvcMatcher(), and HttpSecurity#regexMatcher() methods were deprecated in favor of new HttpSecurity#securityMatcher() method. Refer to the Spring Security docs for more information.
org. openrewrite. java. spring. security5. UseNewSecurityMatchersmod run . --recipe= org. openrewrite. java. spring. security5. UseNewSecurityMatchersInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.