The SAML1String
attribute encoder encodes a string-valued IdPAttribute as a SAML 1 Attribute. This is the most common encoder used with SAML 1.
Schema Name and Location
This xsi:type
is defined by the urn:mace:shibboleth:2.0:resolver
schema 3.3, which is located at 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
...
Include Page |
---|
| AttributeEncoderCommonAttributes |
---|
| AttributeEncoderCommonAttributes |
---|
|
Specific Attributes
Name | Type | Req? | Default | Description |
---|
name | string | Y | | Value to put into the "AttributeName " attribute of the output <AttributeValue> elements |
namespace | string |
|
| urn:mace:shibboleth:1.0:attributeNamespace:uri | Value to put into the "AttributeNamespace " attribute of the output <AttributeValue> elements
|
Example
Code Block |
---|
|
<AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:displayName" encodeType="false" /> |
...