The Shibboleth IdP V3 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP4 wiki space for current documentation on the supported version.
Dependency
Note that this element is deprecated in V3.4, replaced by the InputAttributeDefinition and InputDataConnector elements
Overview
This element defines an input (note: not a dependency) to the containing attribute definition or data connector.
This elements is defined by the urn:mace:shibboleth:2.0:resolver
 schema, which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd.
Attribute
Name | Type | Description |
---|---|---|
ref | String | This is the identifier of an Attribute Definition or Data Connector |
Semantics
The precise semantics of this attribute depend on the type of plugin (data connector or attribute definition) to which it refers, as well as the type of the enclosing data connector or attribute definition
Multi-Attribute Definitions
Multi-input definitions refers to Attribute Definitions or Data Connectors which consume multiple attributes. The current supported definitions are:
- The Scripted DataConnector and AttributeDefinition.
- The templated Attribute Definition,Â
- The RDBMS and LDAP connectors.
In this case:
- If the reference is to an Attribute Definition, then the attribute and all its values are made available to the enclosing definition. Â If an attribute of the same name has already been provided, then the values are combined,
- If the reference is to a Data Connector then all the attributes that it defines are made available to the enclosing definition.  If any attribute of the same name has already been provided, then the values are combined,
Multi-Value Definitions
Multi-value definitions refers to Attribute Definitions or Data Connectors which consume attribute values. Â These values are often, but not always from one definition. Nearly all attribute definitions are multi-value. Â The deprecated ComputerdIdConnector is a degenerate Multi-Value Definition in that it requires a single value (which may come from multiple sources, all but one of which would be empty).
In this case:
- If the reference is to an Attribute Definition, then all the attribute values are made available. Â Values from multiple attributes are combined.
- If the reference is to a Data Connector then the sourceAttributeID is used to select a single attribute whose values are made available.
- If the reference is to a Data Connector then it is an error to not specify the sourceAttributeID.
Deprecated 3.4
In V3.4 this is deprecated and replaced by InputDataConnector and InputAttributeDefinition.
It is easy to mechanically convert a <Dependency>
into a <InputDataConnector>
or a <InputAttributeDefinition>
- If the referenced item is an attribute definition, just change
 <Dependency>
into<InputAttributeDefinition>
- If the referenced item is a data connector:
- Change theÂ
<Dependency>
into a<InputDataConnector>
- If the enclosing definition is a multi-value definition there will be aÂ
sourceAttributeID
provided. Â Use the value as the value to anattributeNames=
in theÂ<InputDataConnector>
- If the enclosing definition is multi-attribute add the attribute
allAttributes="true"
,
- Change theÂ
- When allÂ
<Dependency>
 elements have been removed from a definition theÂsourceAttributeID
 attribute can be removed.