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

technoboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 07a907473a5 Add a constructor method for NettyServerSslContextBuilder. 
(#17649)
07a907473a5 is described below

commit 07a907473a545c86af4edbe6a7143f5022d5bf13
Author: Jiwei Guo <[email protected]>
AuthorDate: Thu Sep 15 09:49:59 2022 +0800

    Add a constructor method for NettyServerSslContextBuilder. (#17649)
---
 .../apache/pulsar/common/util/NettyServerSslContextBuilder.java  | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git 
a/pulsar-common/src/main/java/org/apache/pulsar/common/util/NettyServerSslContextBuilder.java
 
b/pulsar-common/src/main/java/org/apache/pulsar/common/util/NettyServerSslContextBuilder.java
index e9fbb1f5e3e..0e3539b2b3f 100644
--- 
a/pulsar-common/src/main/java/org/apache/pulsar/common/util/NettyServerSslContextBuilder.java
+++ 
b/pulsar-common/src/main/java/org/apache/pulsar/common/util/NettyServerSslContextBuilder.java
@@ -39,6 +39,15 @@ public class NettyServerSslContextBuilder extends 
SslContextAutoRefreshBuilder<S
     protected final boolean tlsRequireTrustedClientCertOnConnect;
     protected final SslProvider sslProvider;
 
+    public NettyServerSslContextBuilder(boolean allowInsecure, String 
trustCertsFilePath,
+                                        String certificateFilePath,
+                                        String keyFilePath, Set<String> 
ciphers, Set<String> protocols,
+                                        boolean 
requireTrustedClientCertOnConnect,
+                                        long delayInSeconds) {
+        this(null, allowInsecure, trustCertsFilePath, certificateFilePath, 
keyFilePath, ciphers, protocols,
+                requireTrustedClientCertOnConnect, delayInSeconds);
+    }
+
     public NettyServerSslContextBuilder(SslProvider sslProvider, boolean 
allowInsecure, String trustCertsFilePath,
                                         String certificateFilePath,
                                         String keyFilePath, Set<String> 
ciphers, Set<String> protocols,

Reply via email to