Skip to content

Commit

Permalink
Log RAS passport details during authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Aug 9, 2024
1 parent 9321274 commit 9cf82da
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ public HashMap<String, String> authenticate(Map<String, String> authRequest, Str
return null;
}

logger.info("RAS PASSPORT FOUND ___ USER: {} ___ PASSPORT: {}", user.getSubject(), rasPassport.get().getGa4ghPassportV1());

Set<RasDbgapPermission> dbgapPermissions = this.rasPassPortService.ga4gpPassportToRasDbgapPermissions(rasPassport.get().getGa4ghPassportV1());
Optional<Set<String>> dbgapRoleNames = this.roleService.getRoleNamesForDbgapPermissions(dbgapPermissions);
if (dbgapRoleNames.isPresent()) {
Expand Down

0 comments on commit 9cf82da

Please sign in to comment.