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(