FIM- Import metadata with isDefault missing caused AttributeConsumingService to fail
3 years ago
Originally Published: 2008-06-24
Article Number
000047588
Applies To
Federated Identity Management Module 3.0
Issue
FIM - Import metadata with isDefault missing caused AttributeConsumingService to fail
Attributes are not passed in the session causing application to fail. None of the attributes are requested by the SP.
Cause
AP Partner metadata was exchanged and AttributeConsumingService isDefault was not set:

<md:AttributeConsumingService index="2">


Resolution
Set the isDefault tag:

<md:AttributeConsumingService index="2" isDefault="true">


Notes

According to SAML spec:
At most one <md:AttributeConsumingService> element can have the attribute isDefault set to true.
When multiple elements are specified and none has the attribute isDefault set to true, then the first element whose isDefault attribute is not set to false is to be used as the default.
If all elements have their isDefault attribute set to false, then the first element is considered the default.

isDefault [Optional]
Identifies the default service supported by the service provider. Useful if the specific service is not otherwise indicated by application context. If omitted, the value is assumed to be false.