Versions Compared

Key

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

The SAML2String attribute encoder encodes a string-valued IdPAttribute as a SAML 2 Attribute. This is the most common encoder used with SAML 2.

Table of Contents

Schema Name and Location

This xsi:type is defined by the Namespace:urn:mace:shibboleth:2.0:resolver schema, which is located at
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

Table of Contents

The SAML2String attribute encoder encodes a string-valued IdPAttribute as a SAML 2 Attribute. This is the most common encoder used with SAML 2.

Reference

Attributes

Common Attributes

...

NameTypeReq?DefaultDescription
name
stringY                                                                                                      Value to put into the "Name" attribute of the output <AttributeValue> elements
nameFormat
string
urn:oasis:names:tc:SAML:2.0:attrname-format:uri
Value to put into the "NameFormat" attribute of the output <AttributeValue> elements
friendlyName
string

Value to put into the "FriendlyName" attribute of the output <AttributeValue> elements

Example

Code Block
languagexml
<AttributeEncoder xsi:type="SAML2String" name="urn:oid:2.16.840.1.113730.3.1.241"
	friendlyName="displayName" encodeType="false" />