The SAML2String
attribute encoder encodes a string-valued IdPAttribute as a SAML 2 Attribute. This is the most common encoder used with SAML 2.
Schema Name and Location
This xsi:type
is defined by the Namespace:urn:mace:shibboleth:2.0:resolver
schema 3.3, which is located at
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd.
Prior to V3.3 supplied plugins were defined by a schema type (xsi:type) in the urn:mace:shibboleth:2.0:encoder schema
, which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-encoder.xsd. This is still supported, but every element or type in the urn:mace:shibboleth:2.0:encoder schema
has an identically named version in the urn:mace:shibboleth:2.0:resolver
schema.
Attributes
Common Attributes
...
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
Expand |
---|
title | Specific XML Attributes |
---|
|
Name | Type | Req? | Default | Description |
---|
name | string | Y |
|
...
...
...
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 |
|
...
...
attribute of the output <AttributeValue> elements |
|
Expand |
---|
title | Common XML Attributes |
---|
|
Include Page |
---|
| AttributeEncoderCommonAttributes |
---|
| AttributeEncoderCommonAttributes |
---|
|
|
Expand |
---|
|
Include Page |
---|
| AttributeEncoderCommonElements |
---|
| AttributeEncoderCommonElements |
---|
|
|
Example
Code Block |
---|
|
<AttributeEncoder xsi:type="SAML2String" name="urn:oid:2.16.840.1.113730.3.1.241"
friendlyName="displayName" encodeType="false" /> |
...