Customizing the shared secret header
By default, the JSON PDP API accepts a shared secret from a client through the CLIENT-TOKEN header.
Steps
-
To customize a shared secret header, change the value of the JSON PDP API HTTP Servlet Extension’s
shared-secret-headerproperty.Example:
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-secretThe 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