From 5000ce4eacd6becdb9f67fa21dece833dc2ceffb Mon Sep 17 00:00:00 2001 From: Luke Sikina Date: Sat, 7 Oct 2023 12:44:07 -0400 Subject: [PATCH] whad --- .../dbmi/avillach/resource/passthru/PassThroughResourceRS.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pic-sure-resources/pic-sure-passthrough-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/passthru/PassThroughResourceRS.java b/pic-sure-resources/pic-sure-passthrough-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/passthru/PassThroughResourceRS.java index 84f3b282..0071ac89 100644 --- a/pic-sure-resources/pic-sure-passthrough-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/passthru/PassThroughResourceRS.java +++ b/pic-sure-resources/pic-sure-passthrough-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/passthru/PassThroughResourceRS.java @@ -105,6 +105,7 @@ public QueryStatus query(QueryRequest queryRequest, @Context SecurityContext con chainRequest.setResourceUUID(UUID.fromString(properties.getTargetResourceId())); chainRequest.setCommonAreaUUID(queryRequest.getCommonAreaUUID()); chainRequest.setInstitutionOfOrigin(context.getUserPrincipal().getName()); + logger.info("Context: {}", context.getUserPrincipal()); String payload = objectMapper.writeValueAsString(chainRequest); HttpResponse response = httpClient.retrievePostResponse(