Skip to content

Commit

Permalink
update the comment according to the suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
DilshanSenarath committed Aug 3, 2023
1 parent b307efb commit b742b0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +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 group name
// Verify whether the roleName is not empty, and it's not contain any prefix Application/Internal
if (StringUtils.isNotEmpty(roleName) && !SCIMCommonUtils.isHybridRole(roleName)) {
return SCIMCommonUtils.getPrimaryFreeGroupName(roleName);
}
Expand Down

0 comments on commit b742b0f

Please sign in to comment.