PingAuthorize

Configuring correlation IDs

Configure which request headers the server recognizes as correlation ID headers and what header name appears in responses.

Configuring the correlation ID request headers

The connection handler uses the correlation-id-request-header property to determine which request headers are correlation ID headers. If a request contains more than one recognized header, the server checks them in the order listed and uses the first one found.

Example

The following example configures the default set of recognized correlation ID request headers.

dsconfig set-connection-handler-prop --handler-name "HTTPS Connection Handler" \
  --set correlation-id-request-header:X-Request-Id \
  --set correlation-id-request-header:X-Correlation-Id \
  --set correlation-id-request-header:Correlation-Id \
  --set correlation-id-request-header:X-Amzn-Trace-Id

Configuring the correlation ID response header

By default, PingAuthorize Server returns the correlation ID in the Correlation-Id response header. You can change this header name using the correlation-id-response-header property.

Example

The following example changes the correlation ID response header to X-Request-Id:

dsconfig set-connection-handler-prop --handler-name "HTTPS Connection Handler" --set correlation-id-response-header:X-Request-Id