Hi, In CAS 3.x, we used org.jasig.cas.authentication.principal.CredentialsToLdapAttributePrincipalResolver and org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver 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.CredentialsToLdapAttributePrincipalResolver] for bean with name 'ldapPrincipalResolver' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException: org.jasig.cas.authentication.principal.CredentialsToLdapAttributePrincipalResolver Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] for bean with name 'ldapPrincipalResolver' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException: org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver Meanwhile, org.jasig.cas.authentication.principal.CredentialsToLdapAttributePrincipalResolver 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 cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user