Page tree
Skip to end of metadata
Go to start of metadata

Overview

Indicated by type="Metadata", this AttributeExtractor allows well-defined content from within SAML 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 <ApplicationDefaults> setting.

Reference

Attributes

The following XML attributes are supported by this type:

NameTypeDescription
AttributeProfilestringNames the SP attribute to carry the value(s) of the <md:AttributeProfile> element(s) found in the metadata
errorURLstringNames the SP attribute to carry the value of the errorURL attribute found in the metadata
DisplayNamestringNames the SP attribute 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.
DescriptionstringNames the SP attribute 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.
InformationURLstringNames the SP attribute 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
PrivacyStatementURLstringNames the SP attribute 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.
OrganizationNamestringNames the SP attribute 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.
OrganizationDisplayNamestringNames the SP attribute 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.
OrganizationURLstringNames the SP attribute 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

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 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

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 a DOM AttributeDecoder. For example, "<img src='$_string' height='$height' width='$width'/>"

Example

<AttributeExtractor type="Metadata" errorURL="errorURL" DisplayName="displayName"/>
  • No labels