MappedAttributeDefinition - Conditional Logic

Joshua Brodie josbrodie at gmail.com
Tue Oct 9 00:55:05 EDT 2018


I am experimenting with steps to return flag of '1'  --- only if a group
explicitly exists, and another group explicitly does not exist, for a user

For MappedAttributeDefinition -- is it possible to have 2 source values,
where in SourceValue1, it is "cn=foo", while in SourceValue2, it is NOT
"cn=bar"?

Return 1 if condition is met, return 0 otherwise.

Example A

<ValueMap>

   <ReturnValue>1</ReturnValue>

   <SourceValue ignoreCase="true">cn=foo</SourceValue>

   <SourceValue ignoreCase="true">^(?!cn=bar$).*$</SourceValue>

</ValueMap>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20181008/35cac215/attachment.html>


More information about the users mailing list