From 5ad8f9391c996e57479b81f94cd692a81b86244f Mon Sep 17 00:00:00 2001 From: Mariano Fernandez Date: Mon, 21 Mar 2022 17:45:04 +0100 Subject: [PATCH] fix(vertx-node): make use of the default clientAuth in HttpServer configuration --- .../node/vertx/configuration/HttpServerConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/configuration/HttpServerConfiguration.java b/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/configuration/HttpServerConfiguration.java index cc4f31945..93f0ee857 100644 --- a/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/configuration/HttpServerConfiguration.java +++ b/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/configuration/HttpServerConfiguration.java @@ -301,7 +301,7 @@ public static class HttpServerConfigurationBuilder { private boolean perFrameWebSocketCompressionSupported = true; private boolean proxyProtocol; private long proxyProtocolTimeout = 10000; - private ClientAuth clientAuth; + private ClientAuth clientAuth = ClientAuth.NONE; private List authorizedTlsCipherSuites; private Environment environment; @@ -672,7 +672,7 @@ public HttpServerConfiguration build() { String sClientAuthMode = environment.getProperty( prefix + "ssl.clientAuth", - ClientAuth.NONE.name() + this.clientAuth.name() ); if (sClientAuthMode.equalsIgnoreCase(Boolean.TRUE.toString())) { this.clientAuth = ClientAuth.REQUIRED;