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

REST SMS should return 404 when requesting to add subschema to parent service that doesn't exist

    Details

    • Target Version/s:
    • Rank:
      1|hzr0d3:

      Description

      When asked to add a new SubSchema instance to a service that doesn't exist, the REST SMS should respond that this operation is not possible - Most likely a 404 Not Found.

      However, if the following curl command is run a 201 Created response is returned - Even when the audit service has not been added to the root realm:

      curl -X POST \
           -H "Content-Type: application/json" \
           -H "iPlanetDirectoryPro: "$ssoToken" \
           -H "Cache-Control: no-cache" \
           -d '{ "_id": "csv" }' \
           "http://openam.example.com:18080/openam/json/realm-config/services/audit/CSV?_action=create"
      

        Attachments

          Activity

            People

            • Assignee:
              james.darley James Darley [X] (Inactive)
              Reporter:
              craig.mcdonnell Craig McDonnell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: