From 52e3a0a347091bf9a1d2285fd2c85a08abe9ad2d Mon Sep 17 00:00:00 2001 From: brusdev Date: Tue, 21 Jan 2020 16:01:29 +0100 Subject: [PATCH] ARTEMIS-2601 Update jetty version to 9.4.26.v20200117 --- artemis-rest/pom.xml | 12 +++++++----- .../artemis/component/WebServerComponent.java | 2 +- pom.xml | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/artemis-rest/pom.xml b/artemis-rest/pom.xml index af2adcc48e..49906230cf 100644 --- a/artemis-rest/pom.xml +++ b/artemis-rest/pom.xml @@ -56,6 +56,12 @@ org.jboss.logmanager jboss-logmanager + + org.eclipse.jetty.aggregate + jetty-all + jar + uber + org.jboss.resteasy resteasy-jaxrs @@ -87,6 +93,7 @@ org.jboss.resteasy tjws + provided org.apache.activemq @@ -133,11 +140,6 @@ 2.3.2 test - - javax.servlet - servlet-api - 2.5 - org.apache.httpcomponents httpcore diff --git a/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java b/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java index a6136cbeec..2635d67cb3 100644 --- a/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java +++ b/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java @@ -69,7 +69,7 @@ public class WebServerComponent implements ExternalComponent { String scheme = uri.getScheme(); if ("https".equals(scheme)) { - SslContextFactory sslFactory = new SslContextFactory(); + SslContextFactory.Server sslFactory = new SslContextFactory.Server(); sslFactory.setKeyStorePath(webServerConfig.keyStorePath == null ? artemisInstance + "/etc/keystore.jks" : webServerConfig.keyStorePath); sslFactory.setKeyStorePassword(webServerConfig.getKeyStorePassword() == null ? "password" : webServerConfig.getKeyStorePassword()); if (webServerConfig.clientAuth != null) { diff --git a/pom.xml b/pom.xml index a788c26187..c9e08ed05a 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ 1.16 24.1.1-jre 3.4.0.Final - 9.4.3.v20170317 + 9.4.26.v20200117 3.6.13.Final 2.4 2.25.0