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

Script validation endpoint no longer works

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 13.0.0
    • None
    • None
    • Rank:
      1|hzq74f:

    Description

      Call script validation endpoint:

      --------------------------------------------
      Request for Validate Scripts
      --------------------------------------------
      curl -s --request POST --header "iPlanetDirectoryPro: AQIC5wM2LY4SfcyzvvROvl5n9W-aPVqZVc7ib4iseBwAgZY.*AAJTSQACMDEAAlNLABQtMzQ3NjYyMDYxMTA1NDMxNzkzOQACUzEAAA..*" --header "Content-Type: application/json"
      --data "
      {
        "script": "YXV0aG9yaXNlZCA9IHRydWU7Cg==",
        "language": "JAVASCRIPT"
      }
      "
      http://openam.example.com:8080/openam/json/scripts/?_action=validate
      

      Expected successful validation, but actual was:

      --------------------------------------------
      Result for Validate Scripts
      --------------------------------------------
      {
        "code": 403,
        "reason": "Forbidden",
        "message": "No privilege mapping for requested action validate"
      }
      

      Looks like this is related to the change for OPENAM-6649

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jaco.jooste Jaco Jooste
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: