airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: sharing server require client auth
Date Mon, 07 Aug 2017 19:30:23 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 92efa1b86 -> c171c67a4


sharing server require client auth


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

Branch: refs/heads/develop
Commit: c171c67a47d7dfca8ab4363783b463e6d7a95934
Parents: 92efa1b
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Aug 7 15:30:17 2017 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Aug 7 15:30:17 2017 -0400

----------------------------------------------------------------------
 .../airavata/sharing/registry/server/SharingRegistryServer.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/c171c67a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServer.java
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServer.java
b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServer.java
index 305c266..ebca1cc 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServer.java
+++ b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServer.java
@@ -84,6 +84,7 @@ public class SharingRegistryServer implements IServer {
             }else{
                 TSSLTransportFactory.TSSLTransportParameters TLSParams =
                         new TSSLTransportFactory.TSSLTransportParameters();
+                TLSParams.requireClientAuth(true);
                 TLSParams.setKeyStore(ServerSettings.getKeyStorePath(), ServerSettings.getKeyStorePassword());
                 TLSParams.setTrustStore(ServerSettings.getTrustStorePath(), ServerSettings.getTrustStorePassword());
                 TServerSocket TLSServerTransport = TSSLTransportFactory.getServerSocket(


Mime
View raw message