Commit 8f467da5 authored by Alok Joshi's avatar Alok Joshi
Browse files

Merge branch 'correlation_id' into 'master'

Correlation id not present in response header

See merge request !37
parents 209092b5 7362d97d
Pipeline #34168 passed with stages
in 28 minutes and 10 seconds
......@@ -61,6 +61,7 @@ public class AuthenticationRequestFilter extends OncePerRequestFilter {
String message = String.format("User authenticated | User: %s", groups.getMemberEmail());;
httpServletResponse.addHeader(DpsHeaders.CORRELATION_ID, dpsHeaders.getCorrelationId());
filterChain.doFilter(httpServletRequest, httpServletResponse);
} catch (EntitlementsException e) {
String message = String.format(String.format("User not authenticated. Response: %s", e.getHttpResponse()), e);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment