This example ldap-url works in my environments standalone cas.properties: cas.authn.ldap[0].ldap-url=ldaps://ldap1.example.com,ldaps://ldap2.example.com,ldaps://ldap3.example.com,ldaps://ldap4.example.com
using commas as separator and no spaces in the string -----Original Message----- From: [email protected] <[email protected]> On Behalf Of Colin Ryan Sent: Wednesday, April 28, 2021 4:56 PM To: [email protected] Subject: [EXTERNAL SENDER] [cas-user] Invalid LDAP URL Folks, CAS 6.2.7 According to numerous sources I should be able to put a comma or space seperated list of URLs in various uses of the ldap-url configuration parameter. However whenever I do so I get invalid URL when starting up. eg. cas.authn.pm.ldap[0].ldap-url: ldap://ldap1:3131 ldap://ldap2:3131 cas.authn.ldap[0].ldap-url: ldap://ldap1:3131 ldap://ldap2:3131 I get the following Failed to instantiate [java.util.List]: Factory method 'ldapAttributeRepositories' threw exception; nested exception is java.lang.IllegalArgumentException: Invalid LDAP URL: ,ldap://ldap2:3131 These multiple URL's are multi-master replica's of each other. Thoughts Colin -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/3ad84f96-2ed1-c4a0-12af-352a24d3c5b4%40caveo.ca. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/3fc448081f354772b3c64a98604cfca1%40mun.ca.
