I'm seeing something weird with PersonDirectory.
I have this in the config for an LdapPersonAttributeDao...
<property name="queryAttributeMapping">
<map>
<entry key="username" value="uid"/>
<entry key="givenName" value="givenName"/>
<entry key="sn" value="sn"/>
</map>
</property>
Using a step-through debugger, I can see that 93 results come back from
LDAP. But on the screen it only shows 1 result.
All but one match seem to be getting lost in the
AbstractQueryPersonAttributeDao.getPeopleWithMultivaluedAttributes
method. It takes the raw results (93) from LDAP and converts them to
another format and places them in a Set of mappedPeople. For each item
it creates (and places in the Set) it seems to use the same value for
the 'username' attribute, which it's getting from the query parameters I
passed in, instead of from the results out of LDAP.
I'm not positive what path is best for getting the desired behavior.
I'm not sure I understand what all the parts of this setup are trying to do.
drew
--
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/uportal-dev