Skip to content

Commit

Permalink
Handle DIM user based on role
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinargade123 committed May 27, 2024
1 parent 1456717 commit b8ed444
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@ private void handlePortalServiceExcutionResponse(Map<String, String> inputData,

technicalUserData.forEach(technicalUser -> {
TechnicalUserDetails technicalUserDetails = technicalUser.getTechnicalUserDetails();
if (technicalUser.getName().contains("dim")
&& technicalUser.getPermissions().contains("Identity Wallet Management")) {
if (technicalUser.getPermissions().contains("Identity Wallet Management")) {
inputData.put("dimClientId", technicalUserDetails.getClientId());
inputData.put("dimClientSecret", technicalUserDetails.getSecret());
} else {
Expand Down

0 comments on commit b8ed444

Please sign in to comment.