thank you Jérôme LELEU
but, I would like to use LDAP for authentication all users with CAS Server
3.5.2

2014-09-26 14:31 GMT+02:00 Jérôme LELEU <[email protected]>:

> Hi,
>
> Isn't it what you are looking for:
> https://github.com/Jasig/cas/blob/3.5.x/cas-server-webapp/src/main/webapp/WEB-INF/deployerConfigContext.xml#L143
> ?
>
> Best regards,
>
> Jérôme LELEU
> Founder of CAS in the cloud: www.casinthecloud.com | Twitter: @leleuj
> Chairman of CAS: www.jasig.org/cas | Creator of pac4j: www.pac4j.org
>
> 2014-09-26 14:24 GMT+02:00 Patrick Pat <[email protected]>:
>
>> Hi,
>> In plus, I have this error:
>>
>> org.springframework.beans.factory.BeanCreationException:
>>  Error creating bean with name 'org.springframework.security.filterChains': 
>> Cannot resolve reference to bean 
>> 'org.springframework.security.web.DefaultSecurityFilterChain#1'
>> while setting bean property 'sourceList' with key [1]; nested exception is 
>> org.springframework.beans.factory.BeanCreationException:
>>  Error creating bean with name 
>> 'org.springframework.security.web.DefaultSecurityFilterChain#1': Cannot 
>> resolve reference to bean 
>> 'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0'
>>  while setting constructor argument with key [2]; nested exception is 
>> org.springframework.beans.factory.BeanCreationException: Error creating bean 
>> with name 
>> 'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0':
>> Cannot resolve reference to bean 
>> 'org.springframework.security.authentication.ProviderManager#0' while 
>> setting bean property 'authenticationManager'; nested exception is 
>> org.springframework.beans.factory.BeanCreationException:
>>  Error creating bean with name 
>> 'org.springframework.security.authentication.ProviderManager#0': Cannot 
>> resolve reference to bean 
>> 'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0'
>> while setting constructor argument; nested exception is 
>> org.springframework.beans.factory.BeanCreationException: Error creating bean 
>> with name 
>> 'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0':
>>  FactoryBean threw exception on object creation; nested exception is 
>> org.springframework.beans.factory.BeanCreationException: Error creating bean 
>> with name 'org.springframework.security.authenticationManager':
>> Cannot resolve reference to bean 'casAuthenticationProvider' while setting 
>> constructor argument with key [0]; nested exception is 
>> org.springframework.beans.factory.BeanCreationException:
>> Error creating bean with name 'casAuthenticationProvider' defined in 
>> ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml]:
>> Cannot resolve reference to bean 'userDetailsService' while setting bean 
>> property 'userDetailsService'; nested exception is 
>> org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
>> named 'userDetailsService' is defined
>>
>>
>> Please, i don't no the solution, please help me
>>
>>
>>
>> 2014-09-19 10:32 GMT+02:00 Patrick Pat <[email protected]>:
>>
>>> Tank you for your answers,
>>> But i have a problem  of connection , like image of Apache-Tomcat 8 in
>>> this mail.
>>> In plus, my CAS Server 3.5.2 and my Apache-tomcat 8 are  in Ubuntu 9.10
>>> and my LDAP server and my DNS Server Bind 9
>>> are in Fedora 8 version 2.6.23 . All those servers are in VMware
>>> workstation 7.
>>> I don't understand this problem of connection
>>> please help me
>>>
>>> 2014-09-19 4:07 GMT+02:00 TOURNAT Guillaume <[email protected]>:
>>>
>>>> I have setup :
>>>> - Tomcat6/JDK6/CAS 3.5.2.1
>>>> - LDAP authentication (password thing)
>>>> - MySQL storage for tickets & services registries
>>>>
>>>> I face a problem with Principal Resolving (from catalina.out) :
>>>>
>>>> WHO: [username: mdupont]
>>>> WHAT: 'principal' cannot be null.
>>>> Check the correctness of @Audit annotation at the following audit
>>>> point: execution(public abstract
>>>> org.jasig.cas.authentication.Authentication
>>>> org.jasig.cas.authentication.AuthenticationManager.authenticate(org.jasig.cas.authentication.principal.Credentials))
>>>> ACTION: TICKET_GRANTING_TICKET_NOT_CREATED
>>>> APPLICATION: CAS
>>>>
>>>>
>>>> I have attached my deployerConfigContext.xml
>>>> My goal is to setup LDAP auth, with a filter by service (OU filtering),
>>>> and attributes grabing for the web applications.
>>>>
>>>> For now, I am blocked by this "null" principal. I guess that this has
>>>> to be mapped to an ldap attribute. Right?
>>>>
>>>>
>>>> Thanks for any help.
>>>>
>>>>
>>>> -----Message d'origine-----
>>>> De : John Gasper [mailto:[email protected]]
>>>> Envoyé : mardi 16 septembre 2014 16:32
>>>> À : [email protected]
>>>> Objet : Re: [cas-user] Connection CAS Server 3.5.2 with LDAP Server
>>>>
>>>> Hello,
>>>>
>>>> Have you looked at https://wiki.jasig.org/display/CASUM/LDAP? That's
>>>> should get you started.
>>>>
>>>> John
>>>>
>>>> On 9/16/14 2:06 AM, Patrick Pat wrote:
>>>> > Hi,
>>>> > I would like to connect CAS Server 3.5.2 with LDAP Server but i don't
>>>> > have a good procedure.
>>>> > Please help me.
>>>> >
>>>> > --
>>>> > 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
>>>>
>>>
>>>
>> --
>> 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