You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2020/03/09 16:07:41 UTC

[james-project] 10/17: PROTOCOLS-121 Use enabled cipher suites in createPipelineFactory

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit a5e9e7230a68abedd2545dfcf4a7eae8516e55ed
Author: janbusch <61...@users.noreply.github.com>
AuthorDate: Wed Mar 4 17:00:19 2020 +0100

    PROTOCOLS-121 Use enabled cipher suites in createPipelineFactory
    
    For the created ChannelPipelineFactory to actually take into account the enabled cipher suites that have been set while constructing the NettyServer instance, they have to be given to the AbstractSSLAwareChannelPipelineFactory constructor.
---
 .../src/main/java/org/apache/james/protocols/netty/NettyServer.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/protocols/netty/src/main/java/org/apache/james/protocols/netty/NettyServer.java b/protocols/netty/src/main/java/org/apache/james/protocols/netty/NettyServer.java
index 2912faf..a523660 100644
--- a/protocols/netty/src/main/java/org/apache/james/protocols/netty/NettyServer.java
+++ b/protocols/netty/src/main/java/org/apache/james/protocols/netty/NettyServer.java
@@ -121,6 +121,7 @@ public class NettyServer extends AbstractAsyncServer {
             maxCurConnections,
             maxCurConnectionsPerIP,
             group,
+            secure != null ? secure.getEnabledCipherSuites() : null,
             eHandler,
             getFrameHandlerFactory(),
             hashedWheelTimer) {


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org