EntityAttributes Metadata Filter (IdP)
Rod Widdowson
rdw at steadingsoftware.com
Mon Apr 13 07:42:35 EDT 2015
I'm just checking my understanding from the code and the schema.
The Schema says:
"Sequences of Attribute elements are supplied, and when an Entity or
ConditionRef is encountered, the preceding Attributes are applied to the
corresponding entities."
So from the code (and the above given) give this:
<MetadataFilter xsi:type="EntityAttributes">
<saml:Attribute Name="https://sp.example.org/tagname1">
<saml:AttributeValue>foo</saml:AttributeValue>
</saml:Attribute>
<Entity>https://sp1.example.org</Entity>
<saml:Attribute Name="https://sp.example.org/tagname2">
<saml:AttributeValue>foo</saml:AttributeValue>
<saml:AttributeValue>bar</saml:AttributeValue>
</saml:Attribute>
<Entity>https://sp2.example.org</Entity>
</MetadataFilter>
The entity https://sp1.example.org will get tagname1
The entity https://sp2.example.org will get tagname1 and tagname2
I'm just checking because the wording in the schema might be read that sp1
would get tagname1 and sp2 would get tagname2 (but not tagname1).
R
More information about the dev
mailing list