Misagh Moayyed <[email protected]> a écrit :

> Where do you see that reference in the documentation? I can't find it :(
>

http://jasig.github.io/cas/development/installation/Configuring-Authentication-Components.html

In the "Show Code" box under "The following configuration snippet  
demonstrates how to configure PolicyBasedAuthenticationManager for a  
straightforward multi-factor authentication case where  
username/password authentication is required and an additional OTP  
credential is optional; in both cases principals are resolved from  
LDAP."


> Also, does 4.x mean 4.0.x, or 4.1.x?
>

4.0.x

> Are you authenticating against LDAP?

Yes. We're using an ldapAuthenticationHandler (  
http://jasig.github.io/cas/development/installation/LDAP-Authentication.html#ldap-requiring-authenticated-search
  
)

>
>> -----Original Message-----
>> From: Jerome Nenert [mailto:[email protected]]
>> Sent: Thursday, September 10, 2015 5:12 AM
>> To: [email protected]
>> Subject: [cas-user] CredentialsToLdapAttributePrincipalResolver
>> replacement in V4
>>
>>
>> Hi,
>>
>> In CAS 3.x, we used
>> org.jasig.cas.authentication.principal.CredentialsToLdapAttributePrincipal
>> Resolver and
>> org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrinci
>> palResolver to transform the user id ( eduPersonPrincipalName ) typed into
>> the login form into Principal Name ( uid ).
>>
>> These classes don't exist anymore in CAS 4.x :
>>
>> Caused by:
>> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
>> find class
>> [org.jasig.cas.authentication.principal.CredentialsToLdapAttributePrincipa
>> lResolver] for bean with name 'ldapPrincipalResolver' defined in
>> ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested
>> exception is java.lang.ClassNotFoundException:
>> org.jasig.cas.authentication.principal.CredentialsToLdapAttributePrincipal
>> Resolver
>>
>> Caused by:
>> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
>> find class
>> [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrinc
>> ipalResolver] for bean with name 'ldapPrincipalResolver' defined in
>> ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested
>> exception is java.lang.ClassNotFoundException:
>> org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrinci
>> palResolver
>>
>> Meanwhile,
>> org.jasig.cas.authentication.principal.CredentialsToLdapAttributePrincipal
>> Resolver is still referenced in the documentation :
>> http://jasig.github.io/cas/development/installation/Configuring-
>> Authentication-Components.html
>>
>> How do you perform this transformation in CAS 4.x ?
>>
>> We've tried
>> org.jasig.cas.authentication.principal.PersonDirectoryPrincipalResolver
>> with ldapPersonAttributeDao but it doesn't work. The Principal Name
>> remains eduPersonPrincipalName
>>
>> Regards.
>>
>> Jerome NENERT.
>> IT Services.
>> Université Panthéon-Assas ( Paris 2 )
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> 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