NameIDFromScoped AttributeDecoder

The decoder, indicated by xsi:type="NameIDFromScopedAttributeDecoder", combines the features of the "Scoped" and "NameID" decoders by processing values in "scoped" syntax, but returning a NameID-formatted value. Used for application compatibility by mapping different input syntaxes into one output format..

Attributes

Any of the Common Attributes can be specified In addition the following can be used

Name

Type

Default

Description

formatter 
string"$Name!!$NameQualifier!!$SPNameQualifier"A formatting string that turns the XML content into a flat string. The string contains one or more substitution tags consisting of a dollar sign ($) followed by the name of an XML attribute or the string "Name" (representing the XML element content). Other characters are echoed through to the constructed string.
format URLoptional

Optional value to set as the NameID "Format" attribute when constructing formatted values.

defaultQualifiers booleanfalse

If true, the values of NameQualifier and SPNameQualifier will be defaulted, if not set by the source, based on the identity provider and service provider identities.

scopeDelimiter character@The character used to delimit the value from the scope in a flattened source string.

Example

<AttributeDecoder xsi:type="NameIDFromScopedAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>