You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2020/11/04 19:01:57 UTC

[cxf] branch 3.3.x-fixes updated: [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.

ffang pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.3.x-fixes by this push:
     new 4a5e0cc  [CXF-8363]Jetty certificate hot reload throws exception due to usage of depreciated SslContextFactory
4a5e0cc is described below

commit 4a5e0cc3a2b12e21cdb6033a24a68a4a7d44e1f5
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 f6aeb4f..18bfa4c 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
@@ -624,7 +624,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();