Uploaded image for project: 'Crowd'
  1. Crowd
  2. CWD-3307

Usernames in updates posted to /user should be checked case-insensitively

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.3
    • Component/s: None
    • Labels:
      None
    • Last commented by user?:
      true
    • Sprint:
      Sprint 23

      Description

      If an application has lowerCaseOutput set then it will never receive mixed-case names.

      When user details posted to the '/user' resource are checked to make sure the payload entity matches the username in the database this is currently a case-sensitive check, which fails because the returned lowercase output doesn't match the mixed case stored in Crowd.

      For consistency with Crowd's case-insensitive, case-preserving behaviour this check should also be case-insensitive. The update shouldn't affect the existing case in the database.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jwalton Joseph Walton
                Reporter:
                jwalton Joseph Walton
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  5 years, 6 weeks ago