There should be more to the exception than what you've posted. That might help us debug your situation.
Cheers, Scott On Tue, Apr 5, 2011 at 12:00 PM, mala <[email protected]> wrote: > can I use Spring-security-core-2.0.4 with cas-server 3.4.6 ? > > My cas custom authentication is working fine without spring security > integration(with web.xml config). > > Now i m trying to integrate cas-client with spring security. I have > installed cas-server3.4.6. I m using spring security core 2.0.4 version. I > configured cas client in security.xml file. I attached security.xml file. > > I run in to exception. its complaining that can't create mycustom > authentication bean in deployconfigcontext.xml. This same custom > handler is working fine with out spring security. > > Can anyone please tell what might be tha problem. > > I attached log file. > > The Exception is > > 2011-04-05 10:53:14,485 ERROR > [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas-working]] > - <Exception starting filter springSecurityFilterChain> > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'centralAuthenticationService' defined in ServletContext > resource [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot > resolve reference to bean 'authenticationManager' while setting bean > property 'authenticationManager'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'authenticationManager' defined in ServletContext resource > [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean > 'com.myAPP.custom.handler.myCustomHandler#3bead5' of type > -- > 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
