Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

Table of Contents

Overview

This element defines a data connector as being multiple input source to the containing AttributeDefinition or DataConnector.

Table of Contents

Semantics

a containing <AttributeDefinition> or <DataConnector>. The precise semantics of this element depend on the type of the enclosing Attribute Definition or Data Connectorenclosing element.

Multi-Attribute Definitions

Multi-attribute definitions refers to Attribute Definitions or Data Connectors which consume multiple attributes. The current supported definitions are:

...

are <AttributeDefinition> or <DataConnector> types which can consume multiple input attributes at once. The currently supported cases include:

In this case, all of the detailed specified input attributes are made available to the enclosing definition.  If If an attribute of the same name has already been provided, then the values are combined with it.

Multi-Value Definitions

Multi-value definitions refers to Attribute Definitions or Data Connectors are <AttributeDefinition> or <DataConnector> types which consume multiple attribute values at once. These values are often, but not always, from one definitioninput. Nearly all attribute definitions AttributeDefinition types are multi-value . The deprecated ComputedIdConnector 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).capable. In this case all the attribute values of all the detailed attributes attributes and values are made available . Values and values from multiple like-named attributes are combined.

In this situation it is usual common to only specify one a single attribute to via attributeNames, but this is by no means required and so this mechanism can be used to combine the values from multiple attributes from the same data connector DataConnector into one output attribute.

The ComputedId and StoredId DataConnectors in contrast require a single value (which may come from multiple sources, all but one of which would need to be empty).

...

Reference

Localtabgroup
Localtab
activetrue
titleXML Attributes

Name

Type

Description

ref

String

This is the identifier of

...

a DataConnector plugin to include as a dependency

attributeNames

Space-delimited list

These are the attributes

...

to

...

pull from the connector's results as dependencies (a single name can

...

of course be specified).

Mutually exclusive

...

with allAttributes

allAttributes

boolean

If present and

...

"true", indicates that all the connector's attributes should be supplied as

...

dependencies.

Mutually exclusive

...

with attributeNames

Examples

The following attribute definition combines the attribute values from four attributes from three input sources.  After this runs the output attribute "MultiIn" will contain:

...