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 2021/01/19 23:26:58 UTC
[directory-fortress-core] branch master updated: never log the
password's value!
This is an automated email from the ASF dual-hosted git repository.
smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git
The following commit(s) were added to refs/heads/master by this push:
new 6f00f3b never log the password's value!
6f00f3b is described below
commit 6f00f3b8487f554427b7285cb632989726f8bfa7
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Tue Jan 19 17:26:50 2021 -0600
never log the password's value!
---
.../apache/directory/fortress/core/ldap/LdapConnectionProvider.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 c33f776..d5bfa62 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
@@ -152,7 +152,7 @@ public class LdapConnectionProvider
{
// validate certificates but allow self-signed certs if within this truststore:
config.setTrustManagers( new LdapClientTrustStoreManager( Config.getInstance().getProperty( GlobalIds
- .TRUST_STORE ), Config.getInstance().getProperty( GlobalIds.TRUST_STORE_PW ).toCharArray(), null,
+ .TRUST_STORE ), Config.getInstance().getProperty( GlobalIds.TRUST_STORE_PW, true ).toCharArray(), null,
true ) );
}
@@ -405,4 +405,4 @@ public class LdapConnectionProvider
LOG.warn( "Error closing log pool: " + e );
}
}
-}
\ No newline at end of file
+}