Skip to content

Commit

Permalink
update the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DilshanSenarath committed Aug 3, 2023
1 parent 112b0d8 commit 4593245
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@ public String getGroupNameById(int tenantId, String id) throws IdentitySCIMExcep
} finally {
IdentityDatabaseUtil.closeAllConnections(connection, rSet, prepStmt);
}
/* Verify whether the roleName is not empty and a groupName
(excluding those with the 'Internal/Application' prefix). */
// Verify whether the roleName is not empty and a group name
if (StringUtils.isNotEmpty(roleName) && !SCIMCommonUtils.isHybridRole(roleName)) {
return SCIMCommonUtils.getPrimaryFreeGroupName(roleName);
}
Expand Down

0 comments on commit 4593245

Please sign in to comment.