cloudogu / sonar-cas-plugin

CAS Authentication support for SonarQube
14 stars 8 forks source link

Handle empty group attributes #26

Closed ppxl closed 4 years ago

ppxl commented 4 years ago

It is possible to configure SonarQube in a way that no entries are available in the principal's group attribute.

In such a case and given an empty group Set, SonarQubes UserIdentity builder throws an exception. Avoiding calling builder.setGroups(groups); does the trick as mitigation.

ppxl commented 4 years ago

This issue is addresse in PR #24