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

Username returned in the /session REST services has incorrect casing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.6
    • 2.5
    • REST

    Description

      If you call the /session REST service to create a new session token the username that gets returned in the response has the same case as the username that was passed through, e.g.

      Username as appears in the directory:
      test@example.com

      Call the /session service:

      <authentication-context>
        <username>tEst@EXAMPLE.com</username>
        <password>password</password>
      </authentication-context>
      

      Response:

      <session expand="user">
          <token>0fX2yGuAWNdhuaMawedehQ00</token>
          <user name="tEst@EXAMPLE.com">        
              <link rel="self" href="http://idm-access-staging.private.atlassian.com:8081/crowd/rest/usermanagement/1/user?username=tEst@EXAMPLE.com" />
          </user>
          <link rel="self" href="http://idm-access-staging.private.atlassian.com:8081/crowd/rest/usermanagement/1/session/0fX2yGuAWNdhuaMawedehQ00" />
      </session>
      

      The response should have returned the username in the original case (test@example.com) like the other Crowd REST services. It should also follow the "Lower Case Output" option set on the application calling the REST service.

      Attachments

        Issue Links

          Activity

            People

              jwalton joe
              jili Jimmy Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: