caseSensitive not working in Mapped AttributeDefinition!

Mohamed Lrhazi lrhazi at cua.edu
Mon Mar 20 16:22:48 UTC 2023


Hello,

I am trying to figure out what I am doing wrong... if x_department is
TS_OPS, should this not map to true?

In the log I see:

Attribute Definition isLawMember: mapped dependency attribute value TS_OPS
to the values [StringAttributeValue{value=false}]
Attribute Definition isLawMember: mapping dependency attribute value TS_OPS
Attribute Definition 'isLawMember': Attempting to map the following values:
[StringAttributeValue{value=TS_OPS}]

and the definition is:

<AttributeDefinition id="isLawMember" xsi:type="Mapped">
        <InputAttributeDefinition ref="x_department" />
        <DefaultValue>false</DefaultValue>
        <ValueMap>
            <ReturnValue>true</ReturnValue>
            <SourceValue partialMatch="true"
caseSensitive="false">law</SourceValue>
            <SourceValue partialMatch="true"
caseSensitive="false">law_school</SourceValue>
            <SourceValue partialMatch="true"
caseSensitive="false">law_ccls</SourceValue>
            <SourceValue partialMatch="true"
caseSensitive="false">law_librry</SourceValue>
            <SourceValue partialMatch="true"
caseSensitive="false">ops</SourceValue>
        </ValueMap>
        <AttributeEncoder xsi:type="SAML1String"
name="urn:mace:dir:attribute-def:isLawMember"
            encodeType="false" />
        <AttributeEncoder xsi:type="SAML2String" name="isLawMember"
friendlyName="isLawMember"
            encodeType="false" />
    </AttributeDefinition>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20230320/1854786a/attachment.htm>


More information about the users mailing list