Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Indicated by type="Metadata", this attribute extractor this AttributeExtractor allows well-defined content from within SAML metadata Metadata to be extracted and passed to an application as an attribute. This plugin executes only when extraction of an <md:RoleDescriptor> (or one of its concrete subtypes) is done, which is dependent on the use of the metadataAttributePrefix application setting.

...

<ApplicationDefaults> setting.

Reference

Attributes

The following XML attributes are supported by this type:

Default
NameTypeDescription
AttributeProfilestringIf set, used as Names the SP attribute ID for to carry the value(s) of the <md:AttributeProfile> element(s) found in the metadata.
errorURLstringIf set, used as Names the SP attribute ID for the to carry the value of the errorURL attribute found in the metadata.
DisplayNamestringIf set, used as Names the SP attribute ID for the to carry the value of the <mdui:DisplayName> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.
DescriptionstringIf set, used as Names the SP attribute ID for the to carry the value of the <mdui:Description> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.
InformationURLstringIf set, used as Names the SP attribute ID for the to carry the value of the <mdui:InformationURL> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences
PrivacyStatementURLstringIf set, used as Names the SP attribute ID for the to carry the value of the <mdui:PrivacyStatementURL> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.
OrganizationNamestringIf set, used as Names the SP attribute ID for the to carry the value of the <md:OrganizationName> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.
OrganizationDisplayNamestringIf set, used as Names the SP attribute ID for the to carry the value of the <md:OrganizationDisplayName> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.
OrganizationURLstringIf set, used as Names the SP attribute ID for the to carry the value of the <md:OrganizationURL> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.

Child Elements

The following child elements are supported by this type:

Name

Cardinality

Description

<ContactPerson>
0 or more

Each element defines a rule for extracting <md:ContactPerson> element information from the metadata.

Attributes

Default
NameTypeReq?Description
idstringY

Name of the SP attribute to create.

contactTypestringY

Indicates which type of contact to locate in the metadata for extraction. The first match is used.

formatterstringYA formatting string used to configure an attribute decoder of xsi:type="DOMAttributeDecoder".
a DOM AttributeDecoder. For example, "$GivenName $SurName"
<Logo>
0 or more

Each element defines a rule for extracting <mdui:Logo> element information from the metadata. The height and width settings, if provided, are used to find the logo with the smallest total difference in size between the inputs.

Attributes

Default
NameTypeReq?Description
idstringY

Name of the SP attribute to create.

heightunsigned integer
Input to logo size matching.
widthunsigned integer
Input to logo size matching.
formatterstringYA formatting string used to configure an attribute decoder of xsi:type="DOMAttributeDecoder".
a DOM AttributeDecoder. For example, "<img src='$_string' height='$height' width='$width'/>".

Example

Code Block
languagexml
<AttributeExtractor type="Metadata" errorURL="errorURL" DisplayName="displayName"/>