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:

Name

Type

Default

Description

AttributeProfile

string

If set, used as

Names the SP attribute

ID for

to carry the value(s) of

the <md

the <md:

AttributeProfile> element

AttributeProfile> element(s) found in the metadata

.

errorURL

string

If set, used as

Names the SP attribute

ID for the

to carry the value of

the errorURL attribute

the errorURL attribute found in the metadata

.

DisplayName

string

If set, used as

Names the SP attribute

ID for the

to carry the value of

the <mdui

the <mdui:

DisplayName> element

DisplayName> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.

Description

string

If set, used as

Names the SP attribute

ID for the

to carry the value of

the <mdui

the <mdui:

Description> element

Description> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.

InformationURL

string

If set, used as

Names the SP attribute

ID for the

to carry the value of

the <mdui

the <mdui:

InformationURL> element

InformationURL> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences

PrivacyStatementURL

string

If set, used as

Names the SP attribute

ID for the

to carry the value of

the <mdui

the <mdui:

PrivacyStatementURL> element

PrivacyStatementURL> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.

OrganizationName

string

If set, used as

Names the SP attribute

ID for the

to carry the value of

the <md

the <md:

OrganizationName> element

OrganizationName> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.

OrganizationDisplayName

string

If set, used as

Names the SP attribute

ID for the

to carry the value of

the <md

the <md:

OrganizationDisplayName> element

OrganizationDisplayName> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.

OrganizationURL

string

If set, used as

Names the SP attribute

ID for the

to carry the value of

the <md

the <md:

OrganizationURL> element

OrganizationURL> element found in the metadata. The element chosen is the one that best matches client and/or SP language preferences.

registrationAuthority 3.1

string

Names the SP attribute to carry the value of the registrationAuthority attribute found in the metadata.

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

NameTypeDefaultDescriptionidstring
  • id (string, required)  Name of the SP attribute to create

.
contactTypestring
  • contactType (string, required)  Indicates which type of contact to locate in the metadata for extraction. The first match is used.

formatterstring
  • formatter (string, required) A formatting string used to configure

an attribute decoder of xsi:type="DOMAttributeDecoder".

<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

NameType

DefaultDescription
  • id

stringName
  • (string, required)   Name of the SP attribute to create

.
height
  • height (unsigned integer

Input
  • ) Input to logo size matching

.
  • width

  • (unsigned integer

Input
  • ) Input to logo size matching

.
formatterstringA
  • formatter (string, required)  A formatting string used to configure

an attribute decoder of xsi:type="DOMAttributeDecoder".
.

Example

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

...