Skip to content

Commit

Permalink
fix(vertx-node): make use of the default clientAuth in HttpServer con…
Browse files Browse the repository at this point in the history
…figuration
  • Loading branch information
mariano-fernandez committed Mar 24, 2022
1 parent d00a144 commit 5ad8f93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> authorizedTlsCipherSuites;

private Environment environment;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 5ad8f93

Please sign in to comment.