The Shibboleth IdP V4 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP5 wiki space for current documentation on the supported version.

ContextDerivedAttributeAttributeDefinition

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

Overview

The ContextDerivedAttribute AttributeDefinition exposes the attributes values generated in some externally specified manner from the ProfileRequestContext. It's an extension point for plugging Java logic into the resolver without requiring custom schema and Spring parsing code.

Reference

Name

Type

Description

Name

Type

Description

attributeValuesFunctionRef

Bean ID

Bean ID of a Function<ProfileRequestContext,List<IdPAttributeValue>> to invoke

Note that this attribute definition does not require <InputAttributeDefinition> or <InputDataConnector> child elements since the information is not resolved from a dependency. If any are supplied, then they are ignored.

Example

<AttributeDefinition xsi:type="ContextDerivedAttribute" id="PD1" attributeValuesFunctionRef="ctxAttributeValuesFunction">