Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We can amend the previous example above to do both: Assign the common-lib-terms entitlement to all members and library-walk-in users, and also assert that all your subjects with the an affiliation of faculty have had their identity sufficiently verified that they can all request personal certificates via TCS. You'll need to adapt that second part as needed, depending on what parts of your community you intend to offer the TCS personal service to. I I.e., for TCS we just add the second ValueMap to the above config, resulting in this example: . We've also included a simple example assigning all your members the right to use the ACOmarket Academic AI service:

Code Block
languagexml
titleeduPersonEntitlement, example 2: library services for members, TCS for faculty, Academic AI for members
<AttributeDefinition id="eduPersonEntitlement" xsi:type="Mapped">
    <InputAttributeDefinition ref="eduPersonAffiliation" />
    <ValueMap>
        <ReturnValue>urn:mace:dir:entitlement:common-lib-terms</ReturnValue>
        <SourceValue>member</SourceValue>
        <SourceValue>library-walk-in</SourceValue>
    </ValueMap>
    <ValueMap>
        <ReturnValue>urn:mace:terena.org:tcs:personal-user</ReturnValue>
        <SourceValue>faculty</SourceValue>
    </ValueMap>
    <ValueMap>
        <ReturnValue>https://acomarket.ac.at/academic-ai</ReturnValue>
        <SourceValue>member</SourceValue>
    </ValueMap>
</AttributeDefinition>

...