shibboleth-dev - [Shib-Dev] IdP: Attribute resolving / duplicate values
Subject: Shibboleth Developers
List archive
- From: Halm Reusser <>
- To:
- Subject: [Shib-Dev] IdP: Attribute resolving / duplicate values
- Date: Wed, 05 Jan 2011 13:42:48 +0100
Hi (Chad),
My attribute resolving query for a RDBMS data connector produces a table
like (for principal=user1):
| uid | ... | entitlement |
+-------+-----+---------------------+
| user1 | ... | http:/example.org/1 |
| user1 | ... | http:/example.org/2 |
Because the user1 has of some attribute (e.g., entitlement) more than
one values. It produces multiple data rows instead of one (which is the
case for a user with only single valued attributes).
From this query result the IdP creates all the attributes as defined. If
multiple rows are returned, multi valued attributes are created.
Because the IdP is filtering out duplicate values, that should work fine.
Now, there is another data connector, like:
<resolver:DataConnector id="storedIdConnector" xsi:type="dc:StoredId"
generatedAttributeID="persistentID"
sourceAttributeID="uid"
which cause this log entry:
WARN
[edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.StoredIDDataConnector:241]
- Source attribute uid for connector storedIdConnector has more than one
value, only the first value is used
So, my assumption is, that attribute filtering (removal of duplicates)
is done after ALL attributes (using all dependent data connectors) are
resolved. Is this right?
If, yes, do you think it would be helpful to remove duplicates direct
after resolving?
Thanks!
-Halm
- [Shib-Dev] IdP: Attribute resolving / duplicate values, Halm Reusser, 01/05/2011
- Re: [Shib-Dev] IdP: Attribute resolving / duplicate values, Chad La Joie, 01/05/2011
- Re: [Shib-Dev] IdP: Attribute resolving / duplicate values, Christopher Bongaarts, 01/05/2011
- Re: [Shib-Dev] IdP: Attribute resolving / duplicate values, Chad La Joie, 01/05/2011
- Re: [Shib-Dev] IdP: Attribute resolving / duplicate values, Halm Reusser, 01/06/2011
- Re: [Shib-Dev] IdP: Attribute resolving / duplicate values, Chad La Joie, 01/05/2011
Archive powered by MHonArc 2.6.16.