Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9788

case insensitive matched userids do not map assigned roles

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-m7
    • Fix Version/s: 3.0.0
    • Component/s: Crowd, LDAP, Security
    • Labels:
    • Story Points:
      1
    • Sprint:
      Sprint 63 - Föhn, Sprint 64 - Föhn

      Description

      Per NEXUS-4115, Nexus needs to allow case insensitive userid matching.

      There is a bug in nexus 3 LDAP user role mapping where this fails.

      Create an LDAP configuration as in the attached screenshots and map an LDAP user with 'test0002' user id. Assign the user the nx-admin role.

      You can successfully authenticate with this user as expected with test0002, TEST0002, or tEsT002, however the roles are not mapped correctly unless you use the exact case userid that was mapped `test0002`.

      This results in being able to signin into the UI using any case, but not seeing the Administration cog or getting any admin privileges unless using an exact case match to test0002.

      Expected

      Correctly map all roles to a successfully authenticated user.

        Attachments

        1. header1.png
          header1.png
          26 kB
        2. ldap1.png
          ldap1.png
          65 kB
        3. ldap2.png
          ldap2.png
          69 kB

          Issue Links

            Activity

              People

              Assignee:
              jtom Joe Tom
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title