directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: FC-105 - [fortress-core] - The supplied array is stored directly
Date Mon, 18 May 2015 16:22:38 GMT
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 <smckinney@apache.org>
Authored: Mon May 18 11:21:41 2015 -0500
Committer: Shawn McKinney <smckinney@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 )


Mime
View raw message