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

Have to enter user/group names as all-lowercase when using Crowd

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The Crowd client (or possibly Crowd itself) automatically normalizes user/group names to all-lowercase before handing them off to the consuming application. Hudson seems to be using case-sensitive matching for authorization of groups.

      The result of this is that if you enter a group name with upper-case characters in it, in (say) the matrix-based authorization form, Hudson won't grant correct authorization to members of that group, because the name of the group won't match. If you enter the same group name as all lower-case, it will work fine.

      I'm not sure yet whether it is possible to work around this in the plugin...

        Attachments

          Activity

          Hide
          nbudin nbudin added a comment -

          Actually, it looks like whether to hand off lower-case group names is a setting on the Crowd server, which can be set per-application. Without it, it passes group names as they are written in the underlying directory server.

          Given that, Hudson has no way of knowing whether it's receiving case-normalized group names or not, so there isn't really much we can do about this from the Hudson side of things. I'll update the wiki page accordingly.

          Show
          nbudin nbudin added a comment - Actually, it looks like whether to hand off lower-case group names is a setting on the Crowd server, which can be set per-application. Without it, it passes group names as they are written in the underlying directory server. Given that, Hudson has no way of knowing whether it's receiving case-normalized group names or not, so there isn't really much we can do about this from the Hudson side of things. I'll update the wiki page accordingly.

            People

            Assignee:
            nbudin nbudin
            Reporter:
            nbudin nbudin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: