Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8650

RFE: Allow passing of a custom attribute to a policy condition script

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 13.0.0
    • Fix Version/s: None
    • Component/s: scripting
    • Labels:
    • Support Ticket IDs:

      Description

      When using Policy Condition Scripts (https://backstage.forgerock.com/#!/docs/openam/13/dev-guide#sec-scripted-policy-condition) it would be useful to be able to pass in a user defined parameter which can be accessed from within the script.

      For example, when selecting your script in the policy's 'Environments' tab, there could be an additional field which allows, "foo:bar".
      Then in your script you can access this with something like customAttributes.get("foo");

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrew.dunn Andrew Dunn [X] (Inactive)
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: