[11:04:02 CDT(-0500)] <b-cause> hello uPortal devs: we use the RequestAttributeSourceFilter from the person-directory to create some of the users attributes, we also have configured in the personDirectoryContext.xml the ldapPersonAttributes dao as part of the mergedPersonAttributes Dao. Do you know of a way to configure person directory so that the RequestAttributesFilter can have precedence of the the attributes collected elsewhere?
[11:05:54 CDT(-0500)] <EricDalquist> what do you mean precedence?
[11:06:06 CDT(-0500)] <EricDalquist> you want attributes from the request to replace those from ldap?
[11:06:26 CDT(-0500)] <b-cause> like I have attributes in RequestAttributeFilter that are the same as attr's colleceted from the ldapAttribute dao
[11:06:29 CDT(-0500)] <b-cause> yes
[11:06:38 CDT(-0500)] <b-cause> I want them to replace whats in ldap if posssible
[11:06:50 CDT(-0500)] <b-cause> I see they are stored in the session additionaldescriptors
[11:07:11 CDT(-0500)] <b-cause> but those don't seem to override whats coming out of Ldap for the same named attributes
[11:07:35 CDT(-0500)] <EricDalquist> the merging attribute dao has a "merger" property
[11:07:44 CDT(-0500)] <EricDalquist> the default one is MultivaluedAttributeMerger
[11:07:53 CDT(-0500)] <EricDalquist> which turns attribute conflicts into multivalued
[11:08:08 CDT(-0500)] <EricDalquist> you can change that do inject ReplacingAttributeAdder
[11:08:14 CDT(-0500)] <EricDalquist> so something like
[11:08:45 CDT(-0500)] <EricDalquist> <property name="merger"><bean class="org.jasig.services.persondir.support.merger.ReplacingAttributeAdder"/></property>
[11:09:03 CDT(-0500)] <b-cause> actually . looking at it. we have ReplacingAttributeAddr set
[11:09:11 CDT(-0500)] <EricDalquist> then it is order dependent