Skip to content

Commit

Permalink
Cisco: Dont update roles with platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-chekuri committed Dec 5, 2023
1 parent 82349c7 commit 4d9d279
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ public Authentication authenticate(Authentication authentication) throws Authent
roles.stream().map(role -> new SimpleGrantedAuthority(role)).collect(Collectors.toList());
// Updating roles in fiat service
permissionService.loginWithRoles(name, roles);
// Updating roles in platform service
oesAuthorizationService.cacheUserGroups(roles, name);
}

return new UsernamePasswordAuthenticationToken(user, password, grantedAuthorities);
Expand Down

0 comments on commit 4d9d279

Please sign in to comment.