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

Scripting "httpClient" dependencies must be added to whitelist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.0.0, 13.5.0, 14.0.0
    • Fix Version/s: 14.0.0
    • Component/s: scripting
    • Labels:

      Description

      In the scripting API the httpClient.post and httpClient.get methods return a warning message at runtime to inform the user to use the send method. In order to use the send method you need to import and whitelist some classes.

      The whitelist should be updated to include the required classes and utility methods should be added to httpClient for creating the prerequisite Request object.

      Consider updating the policy example script to demonstrate the usage of httpClient.send

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gabor.melkvi Gabor Melkvi
                Reporter:
                jaco.jooste Jaco Jooste
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: