CAS integration
0000000000 Apr 22, 2013 10:43 AMHi !
I am trying to integrate the CAS server to gatein but having some trouble.
I appreciate if someone can help me out.
I am following the following insteruction,
https://docs.jboss.org/author/display/GTNPORTAL35/Central+Authentication+Service+%28CAS%29
After I copy the jar file into the cooresponding directory in the chapter "Authentication plugin setup",
and execute the mvn install , I get the following error
java.lang.ClassNotFoundException: org.gatein.sso.cas.plugin.AuthenticationPlugin
Following is the full error in the Test:
testWiring(org.jasig.cas.WiringTests): Error creating bean with name 'handlerMappingC' defined in URL [file:src/main/webapp/WEB-INF/cas-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyValidateController' defined in URL [file:src/main/webapp/WEB-INF/cas-servlet.xml]: Cannot resolve reference to bean 'centralAuthenticationService' while setting bean property 'centralAuthenticationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in file [/usr/local/cas-server-3.5.2/cas-server-webapp/src/main/webapp/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 URL [file:src/main/webapp/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean 'org.gatein.sso.cas.plugin.AuthenticationPlugin#d2368df' of type [org.gatein.sso.cas.plugin.AuthenticationPlugin] while setting bean property 'authenticationHandlers' with key [1]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.gatein.sso.cas.plugin.AuthenticationPlugin] for bean with name 'org.gatein.sso.cas.plugin.AuthenticationPlugin#d2368df' defined in URL [file:src/main/webapp/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException: org.gatein.sso.cas.plugin.AuthenticationPlugin
It seems that mvn command is not reading the jar files that were coppied.
Should I need to set up any dependencies in the pom file?
Thanks,
Yu