Entitlements (assignment) and RESTful operations Help

This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by Mike Jang.

  • Author
    Posts
  • #3163
     rjv2fx
    Participant

    I am integrating some of OpenIDM’s functionality within my own application through it’s REST 3.2 API. I’m focusing on entitlement (assignment) management. I see that Assignments are parts of a role definition. I’ve gone through the documentation ( http://openidm.forgerock.org/doc/bootstrap/integrators-guide/#chap-users-groups-roles ) and see that there are REST calls for creating roles, mapping roles, and removing roles, but there aren’t any assignment-specific REST calls.

    If I wanted to add an entitlement to a specific role, is there a straightforward way of doing it? Will I have to create a new role with the new assignment defined within, remove the old role, assign the new role and delete the old role?

    Will I have to update each user and add the new assignment?

    Any and all assistance is much appreciated.

    #3166
     Mike Jang
    Spectator

    Hi rjv2fx,

    Have you looked at provisioning? If I’m reading your question correctly, usecase 5 might address what you’re looking for, ref http://openidm.forgerock.org/doc/bootstrap/integrators-guide/#use-case-5

    Thanks,
    Mike

    #3171
     rjv2fx
    Participant

    Mike,

    Thanks you, this does appear to line up with my goal quite nicely. However, I’d like to integrate this functionality into my own UI. Is there a way to mimic this functionality via REST, or am I grasping at straws?

    Thanks,
    Ray

    #3173
     Mike Jang
    Spectator

    Hi Ray,

    Have you looked at the REST calls in the noted use case? It includes examples that can help you set up entitlements (assignments) for specific custom roles.

    Thanks,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?