Page tree
Skip to end of metadata
Go to start of metadata

The Simple attribute definition copies an input attribute to an output attribute. Typically this is used to 'expose' attributes which are sourced from a DataConnector, turning them from internal data into "real" attribute objects.

V3.4+: Configuring this definition typically requires adding an <InputAttributeDefinition> element, and adding one or more <AttributeEncoder> elements.

V3.0 - V3.3: Configuring this definition typically requires setting the sourceAttributeID attribute, adding a <Dependency> element, and adding one or more <AttributeEncoder> elements.

Schema Name and Location

This xsi:type is defined in the urn:mace:shibboleth:2.0:resolver namespace 3.3, the schema for 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 in the urn:mace:shibboleth:2.0:resolver:ad namespace, the schema for which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-ad.xsd. This is still supported, but every element or type in the deprecated namespace has an equivalently named (but not necessarily identical) version in the urn:mace:shibboleth:2.0:resolver namespace. The use of the urn:mace:shibboleth:2.0:resolver namespace also allows a relaxation of the ordering requirements of child elements to reduce strictness.

Attributes

Any of the common attributes can be specified.

Child Elements

Any of the common child elements can be specified.

Example

    <AttributeDefinition xsi:type="Simple" id="mobileNumber">
        <InputDataConnector ref="myLDAP" attributeNames="mobile" />
        <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:mobile" encodeType="false" />
        <AttributeEncoder xsi:type="SAML2String" name="urn:oid:0.9.2342.19200300.100.1.41" friendlyName="mobile" encodeType="false" />
    </AttributeDefinition>
  • No labels