Customizing the shared secret header - PingAuthorize - 9.2

PingAuthorize

bundle
pingauthorize-92
ft:publication_title
PingAuthorize
Product_Version_ce
PingAuthorize 9.2
category
ContentType
Product
Productdocumentation
paz-92
pingauthorize
ContentType_ce
Product documentation

By default, the JSON PDP API accepts a shared secret from a client through the CLIENT-TOKEN header.

To customize a shared secret header, change the value of the JSON PDP API HTTP Servlet Extension's shared-secret-header property.

The following command changes the shared secret header to x-shared-secret.

PingAuthorize/bin/dsconfig set-http-servlet-extension-prop \
  --extension-name "JSON PDP API" \
  --set shared-secret-header-name:x-shared-secret

The following command resets the shared secret header to its default value.

PingAuthorize/bin/dsconfig set-http-servlet-extension-prop \
  --extension-name "JSON PDP API" \
  --reset shared-secret-header-name