SSOADM command to update response attribute of a policy

Tagged: , ,

This topic has 1 reply, 2 voices, and was last updated 6 years, 6 months ago by Peter Major.

  • Author
    Posts
  • #7603
     manast
    Participant

    I need to update the response attribute of a policy thru ssoadm command.I see that command : ssoadm update-policies, can take updated XML file in input and update the changes for policies.But I believe, this way of doing things is not dynamic.At run time I want to list out all the policies(thru command : ssoadm list-policies) and update the response attribute for all of them.

    Any clue on how to do?

    #7625
     Peter Major
    Moderator

    Why not use profile attribute mapping instead if you are using agents? Modifying resource attributes will probably require a lot of legwork. If you want to automate this and you are using OpenAM 12+ then I would suggest to use the REST API to manage the policies and with a small script you should be able to add the necessary JSON to your existing policies to get the new attributes in place.

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

You must be logged in to reply to this topic.

©2022 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?