Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11315

Authentication fails when group name is bigger than 255 characters

    XMLWordPrintable

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      Here's the error when authenticating with LDAP (but the issue should exists on other authentication system) and a group name size is bigger than 256 characters :

      2018.10.03 10:38:59 ERROR web[AWY5EUPYBQU7XjhPAABD][o.s.s.a.RealmAuthenticator] Error during authentication
      java.lang.IllegalArgumentException: Group name cannot be longer than 255 characters
          at org.sonar.api.internal.google.common.base.Preconditions.checkArgument(Preconditions.java:145)
          at org.sonar.api.user.UserGroupValidation.validateGroupName(UserGroupValidation.java:37)
          [...]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: