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

Expand SecurityRealm to support case insensitivity better

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      Some {{SecurityRealm}}s are case insensitive, notably Active Director, but the current core abstraction assumes that user names and group names are totally case sensitive.

      In JENKINS-12607, I attempted a fix to canonicalize the names to lower case, but this resulted in massive regression because various parts of Jenkins (such as AuthorizationStrategy stores information keyed by the user name, and changing the user name breaks them.

      We need to expand abstractions in the core (perhaps by even patching Acegi?) so that authorization code would naturally steer toward doing proper comparison.

          [JENKINS-17674] Expand SecurityRealm to support case insensitivity better

          Kohsuke Kawaguchi created issue -
          Kohsuke Kawaguchi made changes -
          Link New: This issue is related to JENKINS-12607 [ JENKINS-12607 ]
          Kohsuke Kawaguchi made changes -
          Link New: This issue is related to JENKINS-12594 [ JENKINS-12594 ]
          Krzysztof Malinowski made changes -
          Link New: This issue is blocking JENKINS-12180 [ JENKINS-12180 ]
          Krzysztof Malinowski made changes -
          Link New: This issue is related to JENKINS-12180 [ JENKINS-12180 ]
          Krzysztof Malinowski made changes -
          Link Original: This issue is blocking JENKINS-12180 [ JENKINS-12180 ]
          Michael Fowler made changes -
          Link New: This issue is related to JENKINS-6377 [ JENKINS-6377 ]
          Michael Fowler made changes -
          Link New: This issue is related to JENKINS-3218 [ JENKINS-3218 ]
          Michael Fowler made changes -
          Link New: This issue is related to JENKINS-4354 [ JENKINS-4354 ]
          Michael Fowler made changes -
          Link New: This issue is blocking JENKINS-4354 [ JENKINS-4354 ]
          Michael Fowler made changes -
          Link New: This issue is blocking JENKINS-4550 [ JENKINS-4550 ]

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: