You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2015/05/18 18:22:38 UTC

directory-fortress-core git commit: FC-105 - [fortress-core] - The supplied array is stored directly

Repository: directory-fortress-core
Updated Branches:
  refs/heads/master bc59101c2 -> 8b5a98ec4


FC-105 - [fortress-core] - The supplied array is stored directly


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/8b5a98ec
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/8b5a98ec
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/8b5a98ec

Branch: refs/heads/master
Commit: 8b5a98ec4e6276d3a881ddd8a1e852af4c04d3aa
Parents: bc59101
Author: Shawn McKinney <sm...@apache.org>
Authored: Mon May 18 11:21:41 2015 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Mon May 18 11:21:41 2015 -0500

----------------------------------------------------------------------
 .../directory/fortress/core/ldap/LdapClientTrustStoreManager.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/8b5a98ec/src/main/java/org/apache/directory/fortress/core/ldap/LdapClientTrustStoreManager.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/ldap/LdapClientTrustStoreManager.java b/src/main/java/org/apache/directory/fortress/core/ldap/LdapClientTrustStoreManager.java
index 101ee46..5b7efb7 100644
--- a/src/main/java/org/apache/directory/fortress/core/ldap/LdapClientTrustStoreManager.java
+++ b/src/main/java/org/apache/directory/fortress/core/ldap/LdapClientTrustStoreManager.java
@@ -84,7 +84,7 @@ public final class LdapClientTrustStoreManager implements X509TrustManager, Seri
         // contains the fully-qualified file name of a valid JSSE TrustStore on local file system:
         this.trustStoreFile = trustStoreFile;
         // the password to the JSSE TrustStore:
-        this.trustStorePw = trustStorePw;
+        this.trustStorePw = trustStorePw.clone();
         // If true, verify the current date is within the validity period for every certificate in the TrustStore:
         this.isExamineValidityDates = isExamineValidity;
         if ( trustStoreFormat == null )