You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/10/09 00:03:08 UTC

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

Author: kayyagari
Date: Fri Oct  8 22:03:07 2010
New Revision: 1006050

URL: http://svn.apache.org/viewvc?rev=1006050&view=rev
Log:
o added javadoc

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=1006050&r1=1006049&r2=1006050&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 Fri Oct  8 22:03:07 2010
@@ -37,7 +37,14 @@ import org.slf4j.LoggerFactory;
 
 
 /**
- * TODO ReplicationTrustManager.
+ * A X509TrustManager implementation used by the replication subsystem.
+ * This implementation doesn't require the certificates to be stored in a file, instead
+ * it parses the given certificates of replica peers using Bouncycastle's X509CertParser 
+ * and stores them in the in-memory KeyStore.
+ * 
+ * The SunX509 TrustManagerFactory is then initialized using this KeyStore and the
+ * resulting X509TrustManager present in this factory's TrustManagers will be used
+ * internally to perform the certificate verification 
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */