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-229 - don't ever write service account pws, even to debug log
Date Thu, 16 Nov 2017 01:37:10 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master d41075cd0 -> 6a2daf450


FC-229 - don't ever write service account pws, even to debug log


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/6a2daf45
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/6a2daf45
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/6a2daf45

Branch: refs/heads/master
Commit: 6a2daf4500b83dc284c3ffa53e74d70f0b67af64
Parents: d41075c
Author: Shawn McKinney <smckinney@apache.org>
Authored: Wed Nov 15 19:37:05 2017 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Wed Nov 15 19:37:05 2017 -0600

----------------------------------------------------------------------
 .../directory/fortress/core/ldap/LdapConnectionProvider.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/6a2daf45/src/main/java/org/apache/directory/fortress/core/ldap/LdapConnectionProvider.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/ldap/LdapConnectionProvider.java
b/src/main/java/org/apache/directory/fortress/core/ldap/LdapConnectionProvider.java
index 3832d87..046c18b 100644
--- a/src/main/java/org/apache/directory/fortress/core/ldap/LdapConnectionProvider.java
+++ b/src/main/java/org/apache/directory/fortress/core/ldap/LdapConnectionProvider.java
@@ -224,11 +224,11 @@ public class LdapConnectionProvider
             logConfig.setUseSsl( IS_SSL );
 
             if ( IS_SSL && StringUtils.isNotEmpty( Config.getInstance().getProperty(
GlobalIds.TRUST_STORE ) ) &&
-                StringUtils.isNotEmpty( Config.getInstance().getProperty( GlobalIds.TRUST_STORE_PW
) ) )
+                StringUtils.isNotEmpty( Config.getInstance().getProperty( GlobalIds.TRUST_STORE_PW,
true ) ) )
             {
                 // validate certificates but allow self-signed certs if within this truststore:
                 logConfig.setTrustManagers( new LdapClientTrustStoreManager( Config.getInstance().getProperty(
-                    GlobalIds.TRUST_STORE ), Config.getInstance().getProperty( GlobalIds.TRUST_STORE_PW
).toCharArray
+                    GlobalIds.TRUST_STORE ), Config.getInstance().getProperty( GlobalIds.TRUST_STORE_PW,
true ).toCharArray
                     (), null, true ) );
             }
 


Mime
View raw message