-
Bug
-
Resolution: Done
-
Major
-
RH-SSO-7.2.4.GA
-
Critical
-
Critical
-
If a LDAP/AD group name contains a "/" in the name, using RHSSO 7.0 (Kecloak 1.9.x) it will create a new group entry in the database each time a user with this group is loaded; using RHSSO 7.1 (Keycloak 2.5.x) it logs an exception due to constraint SIBLING_NAMES on group table.
After some investigation seems it is related to method KeycloakModelUtils.findGroupByPath as it splits the group hierarchy path by "/" . If the group has a "/" in the name it treats it as a top level + group name, and not as a single group name.
Ldap groups with a forward slash in the group name create a ConstraintViolationException