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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

Schema Name and Location

This xsi:type is defined by the urn:mace:shibboleth:2.0:resolver:ad schema, which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-ad.xsd.

Attributes

Any of the common attributes can be specified. Note that this attribute definition does not require a sourceAttributeID attribute since the information is not resolved from an input attribute. If one is supplied, it is ignored.

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

Any of the common child elements can be specified. Note that this attribute definition does not require a <Dependency> child element since the information is not resolved from an input attribute. If any are supplied, then they are ignored.

Example

<resolver:AttributeDefinition xsi:type="ad:ContextDerivedAttribute" id="PD1" attributeValuesFunctionRef="ctxAttributeValuesFunction">
  • No labels