ottoka commented on a change in pull request #750:
URL: https://github.com/apache/james-project/pull/750#discussion_r754379970



##########
File path: 
protocols/netty/src/main/java/org/apache/james/protocols/netty/BasicChannelUpstreamHandler.java
##########
@@ -215,6 +216,14 @@ protected ProtocolSession 
createSession(ChannelHandlerContext ctx) throws Except
             if (enabledCipherSuites != null && enabledCipherSuites.length > 0) 
{
                 engine.setEnabledCipherSuites(enabledCipherSuites);
             }
+            ClientAuth clientAuth = secure.getClientAuth();
+            if (ClientAuth.NEED.equals(clientAuth)) {
+                engine.setNeedClientAuth(true);
+            }
+            if (ClientAuth.WANT.equals(clientAuth)) {
+                engine.setWantClientAuth(true);
+            }
+            LOGGER.info("start SMTP with TLS client auth need {} want {}", 
engine.getNeedClientAuth(), engine.getWantClientAuth());

Review comment:
       Right, and it was supposed to be debug.




-- 
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]

Reply via email to