Please see http://www.ja-sig.org/wiki/display/CASUM/LDAP for help on
configuring LDAP/Active Directory.
-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia

On Wed, Jul 9, 2008 at 7:49 PM, Teo-Chee Jasmin <[EMAIL PROTECTED]>
wrote:

>
> Hi Scott,
>
> Thanks for the reply.
>
> What should the name of class used be then?  I am totally new to CAS
> server. Would appreciate your help. Thanks.
>
> ------------------------------
>
> Date: Tue, 8 Jul 2008 22:55:35 -0400
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: CAS server 3.0.7 authetication with Active Directory.
>
> I'm pretty sure you got the name of the class wrong:
>
> Caused by: java.lang.ClassNotFoundException:
> org.springframework.ldap.BindLdapAuthenticationHandler
>
> -Scott
>
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
>
> On Tue, Jul 8, 2008 at 10:48 PM, Teo-Chee Jasmin <[EMAIL PROTECTED]>
> wrote:
>
> Hi, I am a newbie to CAS and  trying to install the software to
> authenticate with Active Directory to setup for connection with Shibboleth.
> Had encountered some problem and would appreciate any help offered. THanking
> in advance.
>
> OS:== Windows 2003 server.
> CAS server == 3.0.7
> spring-ldap == 1.1.2
> Apache == 2.2
> TomCat == 5.5
>
> Error only happens when trying to get CAS to authenticates to Active
> Directory. After installing the cas-server-ldap-1.1.2 jar, the following
> error appear when accessing the URL: *https://localhost/cas*.
> *Error in cas3-server.log:*
> =========================
> 11:55:03,296 FATAL SafeDispatcherServlet:
> The Spring DispatcherServlet we wrap threw on init.
> But for our having caught this error, the servlet would not have
> initialized. - org.jasig.cas.web.init.SafeDispatcherServlet
> [Thread-1;20080707]org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'centralAuthenticationService' defined in
> ServletContext resource [/WEB-INF/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
> 'org.springframework.ldap.BindLdapAuthenticationHandler#1c7e2da' of type
> [org.springframework.ldap.BindLdapAuthenticationHandler] while setting bean
> property 'authenticationHandlers' with key [1]; nested exception is
> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
> class [org.springframework.ldap.BindLdapAuthenticationHandler] for bean with
> name 'org.springframework.ldap.BindLdapAuthenticationHandler#1c7e2da'
> defined in Servlet! Cont! ext resource [/WEB-INF/deployerConfigContext.xml];
> nested except ion is java.lang.ClassNotFoundException:
> org.springframework.ldap.BindLdapAuthenticationHandler
> Caused by:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'authenticationManager' defined in ServletContext resource
> [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean
> 'org.springframework.ldap.BindLdapAuthenticationHandler#1c7e2da' of type
> [org.springframework.ldap.BindLdapAuthenticationHandler] while setting bean
> property 'authenticationHandlers' with key [1]; nested exception is
> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
> class [org.springframework.ldap.BindLdapAuthenticationHandler] for bean with
> name 'org.springframework.ldap.BindLdapAuthenticationHandler#1c7e2da'
> defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml];
> nested exception is java.lang.ClassNotFoundException:
> org.springframework.ldap.BindLdapAuthenticationHandler
> Caused by:
> org.springframework.beans.! factory.CannotLoadBeanClassException: Cannot
> find class [org.springframework.ldap.BindLdapAuthenticationHandler] for bean
> with name 'org.springframework.ldap.BindLdapAuthenticationHandler#1c7e2da'
> defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml];
> nested exception is java.lang.ClassNotFoundException:
> org.springframework.ldap.BindLdapAuthenticationHandler
> Caused by:
> java.lang.ClassNotFoundException:
> org.springframework.ldap.BindLdapAuthenticationHandler
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1363)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
> at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:321)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1058)
> at org.spri!
> ngframework.beans.factory.support.AbstractAutowireCapableBeanFactory.c
> reateBean(AbstractAutowireCapableBeanFactory.java:352)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:221)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:291)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:132)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1047)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:843)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAu!
> towireCapableBeanFactory.java:427)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:271)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1047)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.p!
> opulateBean(AbstractAutowireCapableBeanFactory.java:843)
> at org.spr
> ingframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:241)
> at org.springframework.web.context.ContextLoader.initW!
> ebApplicationContext(ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
> at
> org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:62)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
> at org.apa!
> che.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start(StandardService.java:448)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> at org.apache.catalina.startup.Bootstrap.m! ain(Bootstrap.java:433)
> ========================
>
>
>
> ------------------------------
> Chat online and in real-time with friends and family! Windows Live
> Messenger <http://get.live.com/messenger/overview>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
> ------------------------------
> Share your beautiful moments with Photo Gallery. Windows Live Photo
> Gallery <http://get.live.com/photogallery/overview>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to