Hello!
We have configured ldap 389 directory server where users attribute's uid
has multivalues.
Is posible Cas login with any uid value?.
With my config only login with first uid value.
* <bean id="directorioAlumnadoHandler"
class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
<property name="filter" value="uid=%u" /> <property
name="searchBase" value="ou=People,dc=canarias,dc=edu,dc=es" />
<property name="contextSource" ref="contextSourceAlum" />
<!--<property name="searchContextSource" ref="pooledContextSource" />
--> </bean> <bean
id="attributeRepositoryAlumnado"
class="org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao">
<property name="contextSource" ref="contextSourceAlum" />
<property name="baseDN" value="ou=People,dc=canarias,dc=edu,dc=es"
/> <property name="requireAllQueryAttributes" value="true"
/> <property name="queryAttributeMapping">
<map> <entry key="username" value="uid"
/> <!--<entry key="username" value="employeeNumber"
/>--> </map> </property>
<property name="resultAttributeMapping">
<map> <!-- Mapping beetween LDAP entry attributes
(key) and Principal's (value) --> <entry key="cn"
value="Name"/> <entry key="uid" value="dni"
/> </map> </property> </bean>*
Thank for your collaboration.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/77e2e5b4-b71c-45a2-8bd9-c2011a433a2e%40apereo.org.