Skip to content

Commit

Permalink
Update KeycloakUserStore.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sumandas0 committed Jan 15, 2024
1 parent 75a99ca commit 064982e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public RangerRoles loadRolesIfUpdated(long lastUpdatedTime) throws AtlasBaseExce
List<UserRepresentation> userRetrievalResult;

do {
userRetrievalResult = getHeraclesClient().getUsersMappings(userFrom, userSize, new String[]{"roles", "groups"});
userRetrievalResult = getHeraclesClient().getUsersMappings(userFrom, userSize, new String[]{"roles"});

if (!CollectionUtils.isEmpty(userRetrievalResult)) {
userRetrievalResult.forEach(user -> {
Expand All @@ -177,7 +177,7 @@ public RangerRoles loadRolesIfUpdated(long lastUpdatedTime) throws AtlasBaseExce
List<HeraclesRoleViewRepresentation> roleRetrievalResult;

do {
roleRetrievalResult = getHeraclesClient().getRolesMappings(roleFrom, roleSize, new String[]{"roles", "groups"});
roleRetrievalResult = getHeraclesClient().getRolesMappings(roleFrom, roleSize, new String[]{"composite_roles", "groups"});

if (!CollectionUtils.isEmpty(roleRetrievalResult)) {
roleRetrievalResult.forEach(role -> {
Expand Down

0 comments on commit 064982e

Please sign in to comment.