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 2022/09/24 22:16:34 UTC

[directory-fortress-core] branch master updated: FC-316 - Refine TLS and LDAP connection handling - correct boolean logic error from prev commit

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 550b3d98 FC-316 - Refine TLS and LDAP connection handling - correct boolean logic error from prev commit
550b3d98 is described below

commit 550b3d98625dfbc871a5b5102d577c210afa8b16
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Sat Sep 24 17:16:29 2022 -0500

    FC-316 - Refine TLS and LDAP connection handling - correct boolean logic error from prev commit
---
 .../directory/fortress/core/ldap/LdapClientTrustStoreManager.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 42433f7d..134b6c4d 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
@@ -165,7 +165,7 @@ public final class LdapClientTrustStoreManager implements X509TrustManager, Seri
     private synchronized X509TrustManager[] getTrustManagers( final X509Certificate[] x509Chain ) throws
         CertificateException
     {
-        if( Config.getInstance().getBoolean( GlobalIds.TRUST_STORE_ON_CLASSPATH, false ) )
+        if( Config.getInstance().getBoolean( GlobalIds.TRUST_STORE_ON_CLASSPATH, true ) == false )
         {
             LOG.debug( CLS_NM + ".getTrustManager on filepath" );
             return getTrustManagersOnFilepath( x509Chain );