For Server SDK extensions that have access to the current
HttpServletRequest
, the extension can retrieve the current correlation
ID as a String
through the HttpServletRequest
's
com.pingidentity.pingdata.correlation_id
attribute.
Consider this example.
(String) request.getAttribute("com.pingidentity.pingdata.correlation_id");