joshelser commented on a change in pull request #113: [CALCITE-3384] Support 
Kerberos-authentication using SPNEGO over HTTPS
URL: https://github.com/apache/calcite-avatica/pull/113#discussion_r333717357
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/avatica/remote/AvaticaCommonsHttpClientImpl.java
 ##########
 @@ -147,10 +147,10 @@ protected void 
configureHttpsRegistry(RegistryBuilder<ConnectionSocketFactory> r
 
   private SSLContext getSSLContext() throws Exception {
     SSLContextBuilder sslContextBuilder = SSLContexts.custom();
-    if (null != truststore && null != truststorePassword) {
+    if (null != truststore) {
       loadTrustStore(sslContextBuilder);
 
 Review comment:
   > The most user-friendly thing would probably be to set the default for the 
key*password parameters to empty string instead of null, but for now I have 
just reverted the change.
   
   👍 that works for me.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to