From 960588029d6267abcadba1d494673b2a180d66c5 Mon Sep 17 00:00:00 2001 From: Colm O hEigeartaigh Date: Tue, 21 May 2019 20:14:48 +0100 Subject: [PATCH] FELIX-6179 - Fix Jetty client authentication --- .../org/apache/felix/http/jetty/internal/JettyService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java b/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java index 938a6c4114b..c9da486c6f8 100644 --- a/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java +++ b/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java @@ -447,7 +447,7 @@ private boolean initializeHttps() HttpConnectionFactory connFactory = new HttpConnectionFactory(); configureHttpConnectionFactory(connFactory); - SslContextFactory sslContextFactory = new SslContextFactory(); + SslContextFactory.Server sslContextFactory = new SslContextFactory.Server(); configureSslContextFactory(sslContextFactory); ServerConnector connector = new ServerConnector( @@ -470,7 +470,7 @@ private boolean initializeHttps() return startConnector(connector); } - private void configureSslContextFactory(final SslContextFactory connector) + private void configureSslContextFactory(final SslContextFactory.Server connector) { if (this.config.getKeystoreType() != null) {