You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2020/11/13 07:43:18 UTC
[cxf] 03/10: [CXF-8363]Jetty certificate hot reload throws
exception due to usage of depreciated SslContextFactory
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 3.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 967544d92fde84d9b4e801d9a9cf95259f7f858e
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Wed Nov 4 14:00:24 2020 -0500
[CXF-8363]Jetty certificate hot reload throws exception due to usage of depreciated SslContextFactory
(cherry picked from commit f5fe58b443c3b0a0c1a601691541709c9d49aa97)
---
.../java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
index afbb406..b8a54e4 100644
--- a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
+++ b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
@@ -625,7 +625,7 @@ public class JettyHTTPServerEngine implements ServerEngine {
// now we just use the SelectChannelConnector as the default connector
SslContextFactory sslcf = null;
if (tlsServerParameters != null) {
- sslcf = new SslContextFactory() {
+ sslcf = new SslContextFactory.Server() {
protected void doStart() throws Exception {
setSslContext(createSSLContext(this));
super.doStart();