Yes, you have my intention correct. And it was a guess. I very new to Spring. The idea *seemed* reasonable.
I realize this is not a Spring forum and I do not want to abuse the mail list. thanks, Bryan ________________________________________ From: Ryan Fox [[email protected]] Sent: Monday, August 03, 2009 6:34 PM To: [email protected] Subject: Re: [cas-user] Question about LDAP authentication > > Can I attempt authentication to multiple LDAPs (i.e. chaining) so > that is > > the first LDAP doesn’t like my user/pass combination CAS will the > next LDAP? > > I think I should be able to do this just by having multiple beans in > the > > deployerConfig.xml like this: Will this work? > > Maybe, but you shouldn't do it that way. The Spring > LdapContextSource > can allow multiple URLs in the urls property, which is the > recommended > solution to your needs: I don't think it is. My understanding of LdapContextSource pooling is that it'll look for a URL that it can successfully connect to; not that it'll try each in turn until one returns an entry to the search query, which is what OP wants. I don't know how to do that. Multiple beans seems like a reasonable guess to me. Ryan -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
