Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2029

findPrincipalByName returns the Char Case used in the API argument, not the one returned as the API search result

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.1
    • 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6
    • SOAP
    • None

    Description

      When calling findPrincipalByName, if name JSmith is provided as an argument, JSmith (with this exact character case) will be returned. Does not matter if the name stored in the repository is jsmith. The name used as an argument is returned as the SOAPPrincipal name.

      This impacts Applications that are not case-insensitive (like JIRA and Confluence). Other APIs will return the case stored in the repository, however findPrincipalByName will return the case used as an argument. A login attempt with a char case different from the one being used in the repository will provide to the Apps wrong data, possibly causing permissions loss.

      The problem happens only if the Lower Case Output is disabled.

      Attachments

        Activity

          People

            onevalainen Olli Nevalainen
            rbattaglin Renan Battaglin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: