ottoka commented on a change in pull request #750:
URL: https://github.com/apache/james-project/pull/750#discussion_r754299411
##########
File path:
protocols/api/src/main/java/org/apache/james/protocols/api/Encryption.java
##########
@@ -46,13 +48,15 @@ public static Encryption createTls(SSLContext context) {
*
* @param enabledCipherSuites
* or <code>null</code> if all Ciphersuites should be allowed
+ * @param clientAuth
+ * specifies certificate based client authentication mode
*/
- public static Encryption createTls(SSLContext context, String[]
enabledCipherSuites) {
- return new Encryption(context, false, enabledCipherSuites);
+ public static Encryption createTls(SSLContext context, String[]
enabledCipherSuites, ClientAuth clientAuth) {
+ return new Encryption(context, false, enabledCipherSuites, clientAuth);
}
public static Encryption createStartTls(SSLContext context) {
- return createStartTls(context, null);
+ return createStartTls(context, null, null);
Review comment:
Oops, missed this one.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]