The Shibboleth V2 IdP and SP software have reached End of Life and are no longer supported. This documentation is available for historical purposes only. See the IDP v4 and SP v3 wiki spaces for current documentation on the supported versions.
A simple attribute definition creates an attribute from the values of another attribute definition or data connector without altering the values from those sources in any manner. That is the values of the attribute created by the simple definition are exact copies as those values produced by the sources. The following steps walk through creating a simple attribute definition.
1. Define the Definition
The definition is defined with the element <resolver:AttributeDefinition xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad"> with the following required attribute:
id - assigns a unique, within the resolver, identifier that may be used to reference this definition
and the following optional attributes:
dependencyOnly - a boolean flag that indicates the attribute produced by this definition is used only by other resolver components and should not be released from the resolver (default value: false)
sourceAttributeID - the ID of the attribute, from the dependency connectors, used to construct this attribute (default value: ID of this attribute)
Basic Simple Attribute Definition
<resolver:AttributeDefinition xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad"
<!-- Remaining configuration from the next step goes here -->
2. Define Dependencies
It is very common for one component, like attribute definitions, within the attribute resolver to depend on information retrieved or constructed from another component.
Dependencies are expressed by the <resolver:Dependency> with a ref attribute whose value is the unique ID of the attribute definition or the data connector that this connector depends on.
Basic Simple Attribute Definition with Dependencies