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
maxLevel3

Overview

The ContextDerivedAttribute attribute definition AttributeDefinition exposes the attributes values generated in some externally specified manner from the ProfileRequestContext.

Table of Contents
maxLevel3

Reference

Attributes

Any of the common attributes can be specified. 

...

Additionally attributeValuesFunctionRef must be present and should be the name of a Spring Bean defined elsewhere. This bean should implement Function<ProfileRequestContext, List<IdPAttributeValue>>

Child Elements

Most of the common child elements can be specified.

Include PageAttributeDefinitionCommonChildElementsAttributeDefinitionCommonChildElementsIt's an extension point for plugging Java logic into the resolver without requiring custom schema and Spring parsing code.

Reference

Localtabgroup
Localtab
activetrue
titleSpecific XML Attributes
NameTypeDescription
attributeValuesFunctionRefBean ID

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

Localtab
titleCommon XML Attributes

Include Page
AttributeDefinitionCommonAttributes
AttributeDefinitionCommonAttributes

Localtab
titleCommon XML Elements

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.

Include Page
AttributeDefinitionCommonChildElements
AttributeDefinitionCommonChildElements

Example

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