multivalue ldap attributes
Pavlos Drandakis
pdrados at noc.edunet.gr
Thu Sep 4 05:30:19 EDT 2008
Hello all,
I 'm using CAS 3.3 and I 'm trying to populate principal' s attributes
with ldap repository.
By following http://www.ja-sig.org/wiki/display/CASUM/Attributes
instructions, I managed to have a working configuration. Everything
seems to work fine except multivalue attributes. As you can see from the
following snippet from the log file, newRole is a multivalue attribute
but it is flattened down to a single value.
[DEBUG] Flattened Map='{newRole=[749, 1958, 2762, 2763, 3134, 3146,
3158, 3170, 1505]}' into Map='{newRole=749}' -
org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao
In deployerConfigContext.xml there is
<property name="ldapAttributesToPortalAttributes">
<map>
<entry key="role" value="newRole" />
</map>
</property>
Is this the intended behaviour or there is something wrong in my
configuration?
Thanks in advance,
Pavlos
More information about the cas
mailing list