| Following the CAS server installation in the documentation, I get the following error and don't know how to continue. All help is appreciated! 12:13:58,910 ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'casPasswordHandler' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.jasig.cas.authentication.AuthenticationManagerImpl] to required type [org.acegisecurity.AuthenticationManager] for property 'authenticationManager'] PropertyAccessExceptionsException (1 errors) org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.jasig.cas.authentication.AuthenticationManagerImpl] to required type [org.acegisecurity.AuthenticationManager] for property 'authenticationManager' My applicationContext.xml has these bean definitions: <bean id="inMemoryDaoImpl" class="org.acegisecurity.userdetails.memory.InMemoryDaoImpl"> <property name="userMap"> <value> super=super,ROLE_ARE_IGNORED_BY_CAS admin=admin,ROLE_ARE_IGNORED_BY_CAS staff=staff,ROLE_ARE_IGNORED_BY_CAS private=private,ROLE_ARE_IGNORED_BY_CAS booking=booking,ROLE_ARE_IGNORED_BY_CAS </value> </property> </bean> <bean id="daoAuthenticationProvider" class="org.acegisecurity.providers.dao.DaoAuthenticationProvider"> <property name="userDetailsService"><ref local="inMemoryDaoImpl"/></property> </bean> <bean id="authenticationManager" class="org.acegisecurity.providers.ProviderManager"> <property name="providers"> <list> <ref local="daoAuthenticationProvider"/> </list> </property> </bean> <bean id="casPasswordHandler" class="org.acegisecurity.adapters.cas.CasPasswordHandler"> <property name="authenticationManager"><ref bean="authenticationManager"/></property> </bean> Any ideas? /Per |
- [Acegisecurity-developer] CasPasswordHandler bean setup wo... Per Ejeklint
- Re: [Acegisecurity-developer] CasPasswordHandler bean... Scott Battaglia
- Re: [Acegisecurity-developer] CasPasswordHandler ... Per Ejeklint
- Re: [Acegisecurity-developer] CasPasswordHand... Scott Battaglia
- Re: [Acegisecurity-developer] CasPassword... Per Ejeklint
- Re: [Acegisecurity-developer] CasPas... Scott Battaglia
- Re: [Acegisecurity-developer] Ca... Per Ejeklint
- Re: [Acegisecurity-developer... Scott Battaglia
- Re: [Acegisecurity-developer... Per Ejeklint
- Re: [Acegisecurity-developer] CasPasswordHandler ... Ben Alex
- Re: [Acegisecurity-developer] CasPasswordHand... Andrew Petro
