From ac34a21fbb515307bdcd749bd0901c8e41ff4964 Mon Sep 17 00:00:00 2001 From: mmoayyed Date: Mon, 20 Feb 2023 06:50:49 -0700 Subject: [PATCH] next patch release --- gradle.properties | 2 +- .../x509/authentication/ldap/LdaptiveResourceCRLFetcher.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index b3e8f1f22cbe..487d9d70dc45 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ # Platform metadata for releases, POM generation, etc. ################################################## group=org.apereo.cas -version=6.5.10-SNAPSHOT +version=6.5.9.1 projectUrl=https://www.apereo.org/cas projectInceptionYear=2004 projectScmUrl=scm:git@github.com:apereo/cas.git diff --git a/support/cas-server-support-x509-core/src/main/java/org/apereo/cas/adaptors/x509/authentication/ldap/LdaptiveResourceCRLFetcher.java b/support/cas-server-support-x509-core/src/main/java/org/apereo/cas/adaptors/x509/authentication/ldap/LdaptiveResourceCRLFetcher.java index 509524a86f59..794a1a49edf9 100644 --- a/support/cas-server-support-x509-core/src/main/java/org/apereo/cas/adaptors/x509/authentication/ldap/LdaptiveResourceCRLFetcher.java +++ b/support/cas-server-support-x509-core/src/main/java/org/apereo/cas/adaptors/x509/authentication/ldap/LdaptiveResourceCRLFetcher.java @@ -149,6 +149,9 @@ protected SearchResponse performLdapSearch(final String ldapURL) throws LdapExce */ protected ConnectionFactory prepareConnectionFactory(final String ldapURL) { val cc = ConnectionConfig.copy(this.connectionConfig); + if (!cc.getLdapUrl().equals(ldapURL)) { + cc.setConnectionInitializers(); + } cc.setLdapUrl(ldapURL); return new DefaultConnectionFactory(cc); }