Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-6657

Describe how to handle case sensitivity for queries

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 4.0.0, OpenIDM 4.5.0
    • Fix Version/s: 6.5.0
    • Component/s: documentation
    • Labels:
      None
    • Target Version/s:
    • Story Points:
      1
    • Sprint:
      OpenIDM Sprint 6.5-2
    • Cases:
    • Support Ticket IDs:

      Description

      Forgotten Username and Reset Functionality requires user to perfectly match their search with the case of their userName, e.g. searching for 'BOB@BOB.COM' would not find a user whose email address was 'bob@bob.com'.

      Replication:

      1. Start OpenIDM 4.0.0/4.5.0 with Sample 1
      2. Import the sample data from the XML file (curl -u openidm-admin:openidm-admin -H "Content-Type: application/json" -X POST "http://localhost:8080/openidm/recon?_action=recon&mapping=systemXmlfileAccounts_managedUser&waitForCompletion=true")
      3. Log in to the Admin UI as openidm-admin and enable Forgotten Username/Password Reset
      4. Log out, switch to Self Service UI
      5. Attempt to reset password using 'scarter@EXAMPLE.COM' rather than 'scarter@example.com'

      When using 'scarter@example.com', an error relating to external/email will be returned (as expected, this has not been configured).

      When using 'scarter@EXAMPLE.COM', an 'Unable to find account' error will be returned.

      According to RFC 1035, Section 3.1 (re-Domain Names):

      Name servers and resolvers must compare labels in a case-insensitive manner (i.e., A=a), assuming ASCII with zero parity.  Non-alphabetic codes must match exactly.
      

        Attachments

          Activity

            People

            • Assignee:
              Lana Lana Frost
              Reporter:
              tom.wood Tom Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: