Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12159

UsersRestService: /users/whoami returns 404 on ldap authenticated user (not in users.xml)

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 25.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The UsersRestService does not return a proper response if /users/whoami is invoked with an LDAP authenticated user.

      GET /rest/users/whoami/<userId>

      returns a 404 instead of a 200 with the roles of the user if the user is not part of the users.xml.

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von Rüden
              Reporter:
              mvr Markus von Rüden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: