PingAuthorize

Basic example

The following example configuration demonstrates how request URIs are mapped to the outbound path to alter policy requests.

Gateway API Endpoint property Example value

inbound-base-path

/accounts/{accountId}/transactions

outbound-base-path

/api/v1/accounts/{accountId}/transactions

policy-request-attribute

foo=bar

A request URI with the path /accounts/XYZ/transactions/1234 matches the inbound base path and is mapped to the outbound path /api/v1/accounts/XYZ/transactions/1234.

The following properties are added to the policy request:

  • HttpRequest.ResourcePath : 1234

  • Gateway.accountId : XYZ

  • Gateway.foo : bar