Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23844

Matrix based security should apply to case insensitive user name.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • matrix-auth-plugin
    • None
    • Red Hat Linux 2.6.32-220.13.1.el6.x86_64
      Jenkins 1.571
      Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
      Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

      There have been several issues resolved recently with regards to case sensitivity of user name within Jenkins authentication. However, I am not certain that the current state is behaving as one would expect.

      Our users sometimes report that when logging in to Jenkins they are recognised, but no jobs are visible. We have found that the user has not matched the case as specified within the Security Matrix row.

      For example, we set up a user within the security matrix as A123 and give them their permissions. When they log in (autheticated via LDAP) as A123 there is no issue. If they log on with a123 they are still authenticated (because the LDAP authentication correctly ignores the case), but Jenkins security then fails to match due to the case difference.

      We know we can try a work around by adding two identical records to the matrix: a123 and A123. But with many users, that becomes a bit of a nightmare.

      For now we have put in a banner to say - "See no jobs? Log in with an upper case user id". But I am guessing this is something that could be improved to bury the case sensitive issues for good?

      Maybe I'm missing a checkbox or something?!?

          [JENKINS-23844] Matrix based security should apply to case insensitive user name.

          Grant Wilcox created issue -
          Oleg Nenashev made changes -
          Component/s New: matrix-auth [ 18131 ]
          Component/s Original: security [ 15508 ]
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]
          jothibasu k made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          jothibasu k made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Daniel Beck made changes -
          Priority Original: Blocker [ 1 ] New: Minor [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 156635 ] New: JNJira + In-Review [ 179359 ]
          Ryan Campbell made changes -
          Link New: This issue duplicates JENKINS-23805 [ JENKINS-23805 ]
          Ryan Campbell made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-1761 (Web Link)" [ 18589 ]

            Unassigned Unassigned
            grantwilcox Grant Wilcox
            Votes:
            9 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: