SimpleAggregation AttributeResolver and duplicate values

Cantor, Scott cantor.2 at osu.edu
Tue Jul 16 10:25:36 EDT 2013


> For some attributes both the IdP and the AA are asserting the
> same value leading to duplicate values in the corresponding
> Apache environment variable. For example
> 
> givenName Scott;Scott
> sn        Koranda;Koranda

The best option is to filter attributes you don't want/need from  a source. Otherwise there's no big issue because you'd be forced to deal with multiple values one way or the other (per my conversation with Martin).

> Is the Transform AttributeResolver a vehicle for removing the
> duplicate values or should I deal with this at the application
> layer?

The Transform plugin just looks at one value at a time.

It can't be done in any plugin, really, short of maybe a really ugly filter function. I believe that fundamentally it's a multiple value issue generically, or something that has to be done as part of the header export step (but would be quite inefficient there). Eliminating the alias feature would address most of the inefficiencies.

-- Scott




More information about the users mailing list