Versions Compared

Key

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

...

NameCardinalityDescription
<Template>
0 or 1The template to use. If a template is not provided, then the output value is produced by appending the input values of each of the input attributes in the order in which they are declared as sources, but this is a DEPRECATED approach.
<SourceAttribute>
1 0 or moreThe DEPRECATED, this is the older means of providing the names of the source attributes which are to be fed into the template.

...

Code Block
languagexml
<AttributeDefinition id="template" xsi:type="Template">
    <InputAttributeDefinition ref="OtherAttr" />
    <InputAttributeDefinition<InputDataConnector ref="myLdap" attributeNames="attrFromLdap" />

    <ad:Template>${attrFromLdap}::${OtherAttr}</ad:Template>
    <ad:SourceAttribute>attrFromLdap</ad:SourceAttribute>
    <ad:SourceAttribute>OtherAttr</ad:SourceAttribute>

    <AttributeEncoder xsi:type="SAML2String" name="https://example.org/example/name" friendlyName="templated" />

</AttributeDefinition>