cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mish...@apache.org
Subject git commit: Load a truststore if client certificate authentication is enabled
Date Thu, 13 Mar 2014 20:07:50 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-1.2 52cf09dba -> 173df48bb


Load a truststore if client certificate authentication is enabled

patch by Mikhail Stepura; reviewed by Jason Brown for CASSANDRA-6847


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/173df48b
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/173df48b
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/173df48b

Branch: refs/heads/cassandra-1.2
Commit: 173df48bb36402bf59accb02537450703b8eedd8
Parents: 52cf09d
Author: Mikhail Stepura <mishail@apache.org>
Authored: Thu Mar 13 11:27:43 2014 -0700
Committer: Mikhail Stepura <mishail@apache.org>
Committed: Thu Mar 13 13:05:31 2014 -0700

----------------------------------------------------------------------
 src/java/org/apache/cassandra/transport/Server.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/173df48b/src/java/org/apache/cassandra/transport/Server.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/transport/Server.java b/src/java/org/apache/cassandra/transport/Server.java
index 0ffb92b..5773728 100644
--- a/src/java/org/apache/cassandra/transport/Server.java
+++ b/src/java/org/apache/cassandra/transport/Server.java
@@ -257,7 +257,7 @@ public class Server implements CassandraDaemon.Server
             this.encryptionOptions = encryptionOptions;
             try
             {
-                this.sslContext = SSLFactory.createSSLContext(encryptionOptions, false);
+                this.sslContext = SSLFactory.createSSLContext(encryptionOptions, encryptionOptions.require_client_auth);
             }
             catch (IOException e)
             {


Mime
View raw message