Hi Dan,
Mahalo for the response. Do you know if there is an example of adding a
second personAttributeDao to the attributeRepository? We're currently
using an attributeRepository configuration based on an example from the
old Jasig wiki[*] that basically looks like:
<bean id="attributeRepository"
class="org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao">
<property name="contextSource" ref="contextSource" />
<property name="baseDN" value="${ldap.baseDN}" />
<property name="requireAllQueryAttributes" value="true" />
<property name="queryAttributeMapping">
<map>
<entry key="username" value="uid" />
</map>
</property>
<property name="resultAttributeMapping">
<map>
<entry key="srcAttr1" value="resultAttr1"/>
<entry key="srcAttr2" value="resultAttr2"/>
...
<entry key="srcAttrN" value="resultAttrN"/>
</map>
</property>
</bean>
I also note that this "attributeRepository" bean id is referenced in
CredentialsToLDAPAttributePrincipalResolver bean,
[*] <
https://wiki.jasig.org/display/CASUM/Attributes>
Actually, upon further review of that page, I found the previously
unnoticed section (perhaps because our config was developed for <3.4.12)
which looks like it should do what we want.
<
https://wiki.jasig.org/display/CASUM/Attributes#Attributes-Configuringmulti-valuedkeysupportforattributes>
However, after following those directions, the Services Management app
doesn't know about the myPersonId and personUid attributes, but only
myPersonIdSet (to use the documentation example)
Perhaps this is only available from version 3.4.12+ onwards?