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

Support case-insensitive mode for user IDs

    XMLWordPrintable

Details

    Description

      We use this plugin with Active Directory users authorisation and via AD user can be authorised with lowercase and CamelCase names. But "role-strategy" plugin uses exact user name and we have to register two user names for each user - lowercase and CamelCase.

      Attachments

        Issue Links

          Activity

            I have this same issue with OpenID connect authentication due to camelcase email addresses.  An option to treat all usernames as lowercase would address the issue blocking us from using role based strategy with openID connect

            bwaters_sevone brendan waters added a comment - I have this same issue with OpenID connect authentication due to camelcase email addresses.  An option to treat all usernames as lowercase would address the issue blocking us from using role based strategy with openID connect
            oleg_nenashev Oleg Nenashev added a comment -

            I believe that a proper implementation nowadays would be an integration with User ID strategies from JENKINS-22247: https://javadoc.jenkins.io/jenkins/model/IdStrategy.html. Such extension point is available in recent versions

            oleg_nenashev Oleg Nenashev added a comment - I believe that a proper implementation nowadays would be an integration with User ID strategies from  JENKINS-22247 : https://javadoc.jenkins.io/jenkins/model/IdStrategy.html . Such extension point is available in recent versions
            oleg_nenashev Oleg Nenashev added a comment - I will add it to the scope of https://jenkins.io/projects/gsoc/2019/project-ideas/role-strategy-ux/

            Believe I'm seeing this problem.

            Users will be granted different access, whether they are logging in as lower-case "username" or have any or all letters capitalized.

            If there's still something that needs to be tested prior to merge, please contact me - I'd be happy to test.

            fsteff Flemming Steffensen added a comment - Believe I'm seeing this problem. Users will be granted different access, whether they are logging in as lower-case "username" or have any or all letters capitalized. If there's still something that needs to be tested prior to merge, please contact me - I'd be happy to test.
            bherfurth Ben Herfurth added a comment -

            What about the merge?

            bherfurth Ben Herfurth added a comment - What about the merge?

            People

              Unassigned Unassigned
              msavich Alex
              Votes:
              17 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: