The EntityAttributes MetadataFilter, identified by type="EntityAttributes"
, adds <mdattr:EntityAttributes>
extension content to entities in order to drive software behavior based on them. Entity attributes are <saml:Attribute>
elements that annotate entities in metadata. They can be used to populate user attributes at runtime, drive other metadata filters, or impact discovery interfaces.
Reference
Child Elements
Element | Cardinalty | Description |
---|---|---|
<saml:Attribute> | one or more | A SAML attribute to attach in an |
<Entity> | zero or more | Contains the entityID of an entity to attach all the preceding attributes to. All of the |
<EntityRegex> |
3.1 | zero or more | Contains a regular expression to match against candidate entityIDs. All of the |
Example
Code Block | ||
---|---|---|
| ||
<MetadataFilter type="EntityAttributes"> <saml:Attribute FriendlyName="state" Name="urn:oid:2.5.4.8" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:AttributeValue>Ohio</saml:AttributeValue> </saml:Attribute> <saml:Attribute FriendlyName="locality" Name="urn:oid:2.5.4.7" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:AttributeValue>Columbus</saml:AttributeValue> </saml:Attribute> <Entity>urn:mace:incommon:osu.edu</Entity> <Entity>http://idp.example.org/saml</Entity> </MetadataFilter> |