Use the new requestMatchers methods
MSALIn Spring Security 5.8, the antMatchers, mvcMatchers, and regexMatchers methods were deprecated in favor of new requestMatchers methods. Refer to the Spring Security docs for more information.
org. openrewrite. java. spring. security5. UseNewRequestMatchersmod run . --recipe= org. openrewrite. java. spring. security5. UseNewRequestMatchersInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.