Vipin, you can download the jar from this location ==>
http://www.springsource.org/ldap

Chris Fontenot



On Fri, Oct 1, 2010 at 7:33 AM, Scott Battaglia
<[email protected]>wrote:

> It says right here:
>
>
> >>> Cannot find class
> [org.springframework.ldap.core.support.LdapContextSource] for bean with name
> 'contextSource' defined in ServletContext resource
> [/WEB-INF/deployerConfigContext.xml]; nested exception is
> java.lang.ClassNotFoundException:
> org.springframework.ldap.core.support.LdapContextSource
>
> You're missing the Spring LDAP jar.
>
>
> On Fri, Oct 1, 2010 at 8:30 AM, Vipin Jain <[email protected]> wrote:
>
>> Hi Scott,
>>
>> I am configuring CAS with LDAP and facing issues with that.
>>
>> CAS Version : 3.4.2.1
>> Server : Tomcat
>>
>> Config made in pom.xml and deployerConfigContext.xml, Copied jar files.
>>
>> 2010-10-01 17:47:45,478 WARN
>> [org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler]
>> -
>> <org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler
>> is only to be used in a testing environment.  NEVER enable this in a
>> production environment.>
>> 2010-10-01 17:47:47,212 INFO
>> [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <FormObjectClass not
>> set.  Using default class of
>> org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
>> formObjectName credentials and validator
>> org.jasig.cas.validation.UsernamePasswordCredentialsValidator.>
>> 2010-10-01 17:47:53,602 INFO
>> [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 4 services.>
>> 2010-10-01 17:47:53,805 ERROR
>> [org.springframework.web.context.ContextLoader] - <Context initialization
>> failed>
>> 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
>> 'contextSource' of type
>> [org.springframework.ldap.core.support.LdapContextSource] while setting bean
>> property 'authenticationHandlers' with key [1]; nested exception is
>> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
>> class [org.springframework.ldap.core.support.LdapContextSource] for bean
>> with name 'contextSource' defined in ServletContext resource
>> [/WEB-INF/deployerConfigContext.xml]; nested exception is
>> java.lang.ClassNotFoundException:
>> org.springframework.ldap.core.support.LdapContextSource
>>
>> Please let me know about it.
>>
>> Thanks
>> Vipin Jain
>>
>> --
>> 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
>
>

-- 
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

Reply via email to