caseSensitive not working in Mapped AttributeDefinition!
Mohamed Lrhazi
lrhazi at cua.edu
Mon Mar 20 16:46:23 UTC 2023
Oh, I see in the docs:
Setting the caseSensitive attribute (default true) to false allows case
insensitive comparisons to be made. This is only valid for regular
expression matching (i.e., when partialMatch is false).
On Mon, Mar 20, 2023 at 12:22 PM Mohamed Lrhazi <lrhazi at cua.edu> wrote:
> 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/c5e04e1a/attachment.htm>
More information about the users
mailing list