Hi,
An update, now I see that bean casAuthoritiesPopulator is not needed,
but I can't figure out what the bean casAuthenticationProvider needs
to get initialized. What I have configured is below. I get a deployment
error message of the following. "Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException: A
userDetailsService must be set"
Any help would be appreciated.
<bean id="casAuthenticationManager"
class="org.springframework.security.providers.ProviderManager">
<property name="providers">
<list>
<ref bean="casAuthenticationProvider"/>
</list>
</property>
</bean>
<bean id="casAuthenticationProvider"
class="org.springframework.security.providers.cas.CasAuthenticationProvider">
<property name="userDetailsService">
<list>
<bean
class="org.springframework.security.userdetails.User" />
</list>
</property>
</bean>
Robert Lewis wrote:
>
> So, I have been trying to follow up on this advice and I have run into
> an obstacle I need help with. When I upgrade to Spring Security 2 I see
> the bean casAuthoritiesPopulator in securityContext.xml is still needed,
> but the class DaoCasAuthoritiesPopulator does not seem to be available
> in Spring Security 2. So, what do I replace it with? Do I have to write
> a class that returns a UserDetailsService ?
>
>
> Thanks,
>
> Robert Lewis
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas