Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit 576ef36

Browse files
committed
hides fttp api key from log
1 parent b53a0fb commit 576ef36

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • codex-process-data-transfer/src/main/java/de/netzwerk_universitaetsmedizin/codex/processes/data_transfer/client

codex-process-data-transfer/src/main/java/de/netzwerk_universitaetsmedizin/codex/processes/data_transfer/client/FttpClientFactory.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ public void testConnection()
144144
"Testing connection to fTTP with {trustStorePath: {}, certificatePath: {}, privateKeyPath: {}, privateKeyPassword: {},"
145145
+ " basicAuthUsername {}, basicAuthPassword {}, serverBase: {}, apiKey: {}, study: {}, target: {}, proxyUrl {}, proxyUsername, proxyPassword {}}",
146146
trustStorePath, certificatePath, privateKeyPath, privateKeyPassword != null ? "***" : "null",
147-
fttpBasicAuthUsername, fttpBasicAuthPassword != null ? "***" : "null", fttpServerBase, fttpApiKey,
148-
fttpStudy, fttpTarget, proxyUrl, proxyUsername, proxyPassword != null ? "***" : "null");
147+
fttpBasicAuthUsername, fttpBasicAuthPassword != null ? "***" : "null", fttpServerBase,
148+
fttpApiKey != null ? "***" : "null", fttpStudy, fttpTarget, proxyUrl, proxyUsername,
149+
proxyPassword != null ? "***" : "null");
149150

150151
getFttpClient().testConnection();
151152
}

0 commit comments

Comments
 (0)