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