On Fri, 07 Nov 2014 16:24:13 -0800 Jason Whitener <[email protected]> wrote:
> Would anyone share a complete deployerConfigContext.xml that authenticates > users against LDAP by means of an authenticated search? > > I see the documentation here: > https://jasig.github.io/cas/4.0.0/installation/LDAP-Authentication.html I have LDAP with direct bind. FWIW, following the aforementioned doc was rather confusing to me (too much information at the same time) so I tried to understand the meaning of it and started from the basic config that you can find at https://github.com/UniconLabs/simple-cas-overlay-template/blob/master/src/main/webapp/WEB-INF/deployerConfigContext.xml tweaking just a thing at each step. > But when I try to put the chain of beans, under the "LDAP Requiring > Authenticated Search" in my new deployerConfigContext.xml (created using > maven), I get a bunch of errors. Maybe it would be helpful to see that errors. > Based on this thread: > https://groups.google.com/forum/#!topic/jasig-cas-user/2G85KtZTL1c , It > looks like the bean with id 'authenticationManager' needs to have a entry > key-ref value of ldapAuthenticationHandler. Actually, it needs a list of AuthenticationHandlers: "AuthenticationManager - Entry point into authentication subsystem. It accepts one or more credentials and delegates authentication to configured AuthenticationHandler components. It collects the results of each attempt and determines effective security policy." https://github.com/Jasig/cas/wiki/Configuring-Authentication-Components -- Alberto Cabello Sánchez <[email protected]> -- 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
