olThe The SAML1ScopedString
attribute encoder encodes an IdPAttribute with "scoped" string values as a SAML 1 Attribute. This encoder typically places the scope portion into a separate XML attribute.
Schema Name and Location
This xsi:type
is defined by the urn:mace:shibboleth:2.0:resolver: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
|
scopeAttribute | String |
|
| Scope | If scopeType is "attribute", then the scope is passed an XML attribute inside the <AttributeValue> elements with this name while the (unscoped) value is passed in the content of the element |
scopeDelimiter | String |
|
| @ | If scopeType is "inline", then the output <AttributeValue> element content is constructed by concatenating the unscoped value, the value of this attribute, and the scope |
scopeType | "attribute" or "inline" |
|
| attribute | Defines what format the attribute is to be encoded in, generally should be left alone |
Examples
Code Block |
---|
|
<AttributeEncoder xsi:type="SAML1ScopedString" name="https://example.org/oldstyle" scopeType="attribute"/>
<AttributeEncoder xsi:type="SAML1ScopedString" name="https://example.org/newstyle" scopeDelimiter="#"/> |
...