SAML2StringEncoder

The Shibboleth IdP V4 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP5 wiki space for current documentation on the supported version.

SAML2StringEncoder

Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

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

Reference

Name Type Req? Default Description name string Y                                                                                                            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 The enclosing attribute's ID Value to put into the FriendlyName attribute of the output <AttributeValue> elements

Example

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