/
MappedAttributeDefinition
MappedAttributeDefinition
Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd
Overview
The Mapped
AttributeDefinition performs a many-to-one mapping from source attributes values to a return value according to a series of mapping statements. If an input value matches no mapping rule, then a default can be provided.
Reference
Example
<AttributeDefinition id="mapped" xsi:type="Mapped">
<InputAttributeDefinition ref="uid" />
<DefaultValue passThru="true"/>
<ValueMap>
<ReturnValue>return1</ReturnValue>
<SourceValue>sou.+rc.+e1</SourceValue>
<SourceValue partialMatch="true">fred</SourceValue>
<SourceValue caseSensitive="false">Ignore.+Case.+When.+Comparing</SourceValue>
</ValueMap>
<ValueMap>
<ReturnValue>return1</ReturnValue>
<SourceValue>source2</SourceValue>
</ValueMap>
<ValueMap>
<ReturnValue>some_string_to_add_before_value:$1</ReturnValue>
<SourceValue>(.+)</SourceValue>
</ValueMap>
<AttributeEncoder xsi:type="SAML2String" name="https://example.org/example/name" friendlyName="Mapped" encodeType="false" />
</AttributeDefinition>
, multiple selections available,
Related content
AttributeDefinitionConfiguration
AttributeDefinitionConfiguration
More like this
AttributeResolverConfiguration
AttributeResolverConfiguration
Read with this
MappedAttributeDefinition
MappedAttributeDefinition
More like this
FunctionAuthnConfiguration
FunctionAuthnConfiguration
Read with this
RegexSplitAttributeDefinition
RegexSplitAttributeDefinition
More like this
ActivationConditions
ActivationConditions
Read with this