Skip to content

Commit

Permalink
Add a constructor method for NettyServerSslContextBuilder. (apache#17649
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Technoboy- authored Sep 15, 2022
1 parent 25cb1fb commit 07a9074
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 07a9074

Please sign in to comment.