...
Name | Cardinality | Description |
---|---|---|
<Template> | 0 or 1 | The 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 more | The DEPRECATED, this is the older means of providing the names of the source attributes which are to be fed into the template. |
...
Code Block | ||
---|---|---|
| ||
<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> |