Skip to content

Commit

Permalink
Merge pull request #477 from DilshanSenarath/dilshan
Browse files Browse the repository at this point in the history
fix scim2 groups issue
  • Loading branch information
Kanapriya authored Aug 3, 2023
2 parents 5eaf11c + b742b0f commit c70b214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
java-version: [ 11, 17 ]
java-version: [ 11.0.19+7 ]
steps:
- uses: actions/checkout@v2
- name: Set up Adopt JDK 11 and 17
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ public String getGroupNameById(int tenantId, String id) throws IdentitySCIMExcep
} finally {
IdentityDatabaseUtil.closeAllConnections(connection, rSet, prepStmt);
}
if (StringUtils.isNotEmpty(roleName)) {
// 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);
}
return null;
Expand Down

0 comments on commit c70b214

Please sign in to comment.