error from eduPersonScopedAffiliation in IDP 3.1.2
Rob Ansaldo
rlansaldo at amherst.edu
Tue Sep 1 16:56:51 EDT 2015
> On Aug 17, 2015, at 12:26 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
>
> On 8/17/15, 12:08 PM, "users on behalf of Hong Ye" <users-bounces at shibboleth.net on behalf of hy93 at cornell.edu> wrote:
>>
>> We are running IDP 3.1.2 in our test environment. When user’s eduPersonAffiliaiton is empty, attribute resolver generated error when trying to resolve eduPersonScopedAffiliation. The error caused none of the attribute/value is released to the SP. This behavior is different than IDP 2.4.x.
>
> It's a bug, please file it. You have embedded nulls in the source data, so you'll have to filter them out in the meantime.
>
> — Scott
Is there a workaround for this? How would one filter this out? I have the same problem with a custom scoped attribute I am deriving from a relational database data connector. Not all of my users have this attribute set. Doesn’t seem to matter if the attribute is NULL or an empty string, still get the following error:
2015-09-01 15:07:47,047 - ERROR [net.shibboleth.idp.profile.impl.ResolveAttributes:256] - Profile Action ResolveAttributes: Error resolving attributes
net.shibboleth.idp.attribute.resolver.ResolutionException: net.shibboleth.idp.attribute.UnsupportedAttributeTypeException: Attribute Definition 'DatatelEduPersonPrincipalName':This attribute definition only supports attribute value types of net.shibboleth.idp.attribute.StringAttributeValue not values of type net.shibboleth.idp.attribute.EmptyAttributeValue
at net.shibboleth.idp.attribute.resolver.ad.impl.ScopedAttributeDefinition.doAttributeDefinitionResolve(ScopedAttributeDefinition.java:91)
Caused by: net.shibboleth.idp.attribute.UnsupportedAttributeTypeException: Attribute Definition 'DatatelEduPersonPrincipalName':This attribute definition only supports attribute value types of net.shibboleth.idp.attribute.StringAttributeValue not values of type net.shibboleth.idp.attribute.EmptyAttributeValue
at net.shibboleth.idp.attribute.resolver.ad.impl.ScopedAttributeDefinition.doAttributeDefinitionResolve(ScopedAttributeDefinition.java:91)
More information about the users
mailing list