Skip to content

Commit a20f411

Browse files
Potential fix for code scanning alert no. 437: Insertion of sensitive information into log files
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: NiklasHerrmann21 <49141792+NiklasHerrmann21@users.noreply.github.com>
1 parent 10e3f9e commit a20f411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-security/src/main/java/com/sap/cloud/security/token/TokenExchangeMode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static TokenExchangeMode fromString(String value) {
8282
case "providexsuaa" -> PROVIDE_XSUAA;
8383
case "forcexsuaa" -> FORCE_XSUAA;
8484
default -> {
85-
logger.error("Wrong Token exchange mode: {}. Disabling Token Exchange...", value);
85+
logger.error("Wrong Token exchange mode received. Disabling Token Exchange...");
8686
yield DISABLED;
8787
}
8888
};

0 commit comments

Comments
 (0)