Replace WSPrincipal.getCredential() with WSSubject lookup
Apache 2.0Replaces WSCredential credential = WSPrincipal.getCredential(); with a null initializer + try/catch lookup.
org. openrewrite. java. liberty. ReplaceWSPrincipalGetCredentialmod run . --recipe= org. openrewrite. java. liberty. ReplaceWSPrincipalGetCredentialInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.