Use RestTemplateBuilder#basicAuthentication
MSALRestTemplateBuilder#basicAuthorization was deprecated in 2.1.
org. openrewrite. java. spring. boot2. MigrateRestTemplateBuilderBasicAuthorizationmod run . --recipe= org. openrewrite. java. spring. boot2. MigrateRestTemplateBuilderBasicAuthorizationInstall 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.