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); }