directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1132989 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicationTrustManager.java
Date Tue, 07 Jun 2011 12:56:13 GMT
Author: kayyagari
Date: Tue Jun  7 12:56:13 2011
New Revision: 1132989

URL: http://svn.apache.org/viewvc?rev=1132989&view=rev
Log:
o replaced the hard coded algorithm with the default value

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicationTrustManager.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicationTrustManager.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicationTrustManager.java?rev=1132989&r1=1132988&r2=1132989&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicationTrustManager.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicationTrustManager.java
Tue Jun  7 12:56:13 2011
@@ -72,7 +72,7 @@ public class ReplicationTrustManager imp
             ks = KeyStore.getInstance( "JKS" );
             ks.load( null, null ); // initiate with null stream and password, this keystore
resides in-memory only
 
-            TrustManagerFactory tmFactory = TrustManagerFactory.getInstance( "SunX509" );
+            TrustManagerFactory tmFactory = TrustManagerFactory.getInstance( TrustManagerFactory.getDefaultAlgorithm()
);
             tmFactory.init( ks );
 
             TrustManager trustManagers[] = tmFactory.getTrustManagers();



Mime
View raw message