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.
StaticDataConnector
The Static
 data connector allows the creation of one or more fixed attributes from a static configuration.
Schema Name and Location
This xsi:type
is defined by the urn:mace:shibboleth:2.0:resolver
 schema 3.3, 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:resolver:dc
namespace, the schema for which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-dc.xsd. This is still supported, but every element or type in the  urn:mace:shibboleth:2.0:resolver:dc
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. In addition one or more <
Attribute
>
elements can be configured.
The <Attribute>
element has a required attribute, id
, which specifies the name of the Attribute to generate. In addition, it must have one or more <Value>
child elements. The text content of the <Value>
elements provide the values for the attribute being generated.
Example
<DataConnector id="staticAttributes" xsi:type="Static"> <Attribute id="eduPersonAffiliation"> <Value>member</Value> </Attribute> <Attribute id="eduPersonEntitlement"> <Value>https://example.org/entitlement/entitlement1</Value> <Value>urn:mace:dir:entitlement:common-lib-terms</Value> </Attribute> </DataConnector>
Spring Configuration 3.1
The Static Data Connector can be configured using the springResources
 or springResourcesRef
 attributes.
The Spring Resource should provide a bean of type Collection consisting of IdPAttribute elements populated with IdPAttributeValues