diff --git a/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt b/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt index fe357659..525ad2cf 100644 --- a/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt +++ b/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt @@ -24,6 +24,7 @@ class SimuleringOppdragConfig(config: Config, private val enableLogging: Boolean if (enableLogging) add(LoggingFeature().apply { setVerbose(true) setPrettyLogging(true) + setSensitiveProtocolHeaderNames(setOf("Authorization", "wsse:Security")) }) } diff --git a/apps/etterlatte-proxy/src/main/kotlin/config/TilbakekrevingConfig.kt b/apps/etterlatte-proxy/src/main/kotlin/config/TilbakekrevingConfig.kt index fd8d8133..41d01dec 100644 --- a/apps/etterlatte-proxy/src/main/kotlin/config/TilbakekrevingConfig.kt +++ b/apps/etterlatte-proxy/src/main/kotlin/config/TilbakekrevingConfig.kt @@ -24,6 +24,7 @@ class TilbakekrevingConfig(config: Config, private val enableLogging: Boolean = if (enableLogging) add(LoggingFeature().apply { setVerbose(true) setPrettyLogging(true) + setSensitiveProtocolHeaderNames(setOf("Authorization", "wsse:Security")) }) }