Mapped Attribute -- AND -- possible?

Joshua Brodie josbrodie at gmail.com
Tue Mar 31 19:02:14 EDT 2020


I'm performing mental gymnastics and probably going up the creek.

Can 'Mapped' attributes perform and AND calculation -- like below?
Returns *'https://elece/faculty
<https://elece/faculty>'* when both '*ACTIVEFACULTY*' *AND* '
*cn=FACULTY,ou=ELECE*' are available (derived from the dependencies '
*EmployeeStatus*' and '*groupMembership*' respectively)?

Or the route is scripted?

<resolver:AttributeDefinition id="FOOEntitlement" xsi:type="Mapped"
xmlns="urn:mace:shibboleth:2.0:resolver">
         <resolver:Dependency ref="EmployeeStatus" />
         <resolver:Dependency ref="groupMembership" />
         <resolver:AttributeEncoder xsi:type="SAML2String"
            xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
            name="urn:mace:dir:attribute-def:FOOEntitlement"
          friendlyName="FOOEntitlement"/>
        <ValueMap>
            <ReturnValue>https://elece/faculty</ReturnValue>
            <SourceValue ignoreCase="true">ACTIVEFACULTY</SourceValue>
            <SourceValue ignoreCase="true">cn=FACULTY,ou=ELECE</SourceValue>
        </ValueMap>
      </resolver:AttributeDefinition>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200331/b6047369/attachment.html>


More information about the users mailing list