It looks like you're not following the structure that was in the original XML configuration file. The AuthenticationManagerImpl does not take a map as its constructor argument.
If you're not familiar with how to configure Spring-based applications, I'd suggest taking a look at our Spring configuration first. Cheers, Scott On Mon, Nov 8, 2010 at 5:32 PM, Baci <[email protected]> wrote: > > Thanks Scott, I had linked a file earlier but someone told me to put the > code > in line here. I tried that above. After all day punding my head on this I'm > bleary-eyed. It seems that > > <bean id="authenticationManager" > class="org.jasig.cas.authentication.AuthenticationManagerImpl"> > <constructor-arg index="0"> > <map> > <entry key-ref="LP5-LdapAuthHandler" > value-ref="openDSLDAPCredentialtoPrincipalResolver" /> > <entry key-ref="CSS-LdapAuthHandler" > value-ref="CSSLdapCredentialtoPrincipalResolver" /> > <entry key-ref="HTTPAuthHandler" > value-ref="HTTPCredentialtoPrincipalResolver" /> > </map> > </constructor-arg> > > is having issues. I'm running CAS 3.3.1 so the method used above with an > athuenticationManager class which was different wont work for me. Thanks > for > any help i can get. > > hopefully you can download the attached file. It's my current attempt at > making this work. Which is kicking back errors > > The Spring ContextLoaderListener we wrap threw on contextInitialized. > But for our having caught this error, the web application context would not > have initialized. > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name 'centralAuthenticationService' defined in Se > rvletContext resource > [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve > reference to bean 'authenticationManag > er' while setting bean property 'authenticationManager'; nested exception > is > org.springframework.beans.factory.BeanCreationExceptio > n: Error creating bean with name 'authenticationManager' defined in > ServletContext resource [/WEB-INF/deployerConfigContext.xml]: C > annot create inner bean 'openDSLDAPCredentialtoPrincipalResolver' of type > [org.jasig.cas.authentication.principal.CredentialsToLDAP > AttributePrincipalResolver] while setting bean property > 'credentialsToPrincipalResolvers' with key [0]; nested exception is org.spr > ingframework.beans.factory.BeanCreationException: Error creating bean with > name 'openDSLDAPCredentialtoPrincipalResolver' defined i > n ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot > resolve reference to bean 'LP5-LdapAuthHandler' while settin > g bean property 'authenticationHandler'; nested exception is > org.springframework.beans.factory.NoSuchBeanDefinitionException: No be > an named 'LP5-LdapAuthHandler' is defined > > > > http://jasig.275507.n4.nabble.com/file/n3032785/deployerConfigContext.xml.txt > deployerConfigContext.xml.txt > > ----- > Chris Bacigalupo, Portal Administrator > The College of St. Scholastica > Duluth, MN > -- > View this message in context: > http://jasig.275507.n4.nabble.com/CAS-Multiple-BindLdapAuthenticationHandler-tp2133071p3032785.html > Sent from the CAS Users mailing list archive at Nabble.com. > > -- > 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
