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

Resource #3.0 logoutByHandle request fail with status 500 error

    Details

    • Target Version/s:
    • Needs backport:
      Yes
    • Support Ticket IDs:
    • Verified Version/s:
    • Needs QA verification:
      Yes
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      Requests to logoutByHandle using API Version Resource 3.0 fails with a 500 error. Different exceptions are returned by 5.5.1 than are returned by 5.5.0. 5.5.1 also returns different exceptions depending on whether one or more session handles are passed in to the request.

      How to reproduce the issue

      Details steps outlining how to recreate the issue (remove this text)

      1. Create a couple of sessions with demo user
      2. Find their shandle values (example shown here)
      3. In the API explorer, under resource 3.0 (Session v3.0), send a request to /sessions#3.0_action_logoutbyhandle adding the shandle(s) to the requestPayload (alternatively, use a curl request). If using one shandle, try removing the brackets, you'll see a different exception thrown.
      Expected behaviour
      {
        "result": {
          "shandle:AQIC5w...NDcx*": true,
          "shandle:AQIC5w...MTY3*": true
        }
      }
      
      Current behaviour
      500 error returned
      

      Work around

      Use API Version Resource 2.0

        Attachments

          Activity

            People

            • Assignee:
              dipu.seminlal Dipu Seminlal
              Reporter:
              aaron.haskins Aaron Haskins
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: