Sometimes it may be necessary to remove special, non alpha-numeric characters, from JSON values. This policy uses a combination of RegEx and JSON path expressions to accomplish this. I.e: ( "value": "This is a test message ' with special characters $30 " ) To use: 1) Open Policy...
198742.zip
A sample policy using the 'Add or Remove XML Element(s)' Assertion. Instructions: To test this policy: 1. Create a testing endpoint on your Gateway, i.e: /addXml , /removeXml 2. Import the attached policy into the respective endpoint 3. Send one of the sample messages below to the Gateway...
177940.zip
A sample policy using the 'Retrieve OAuth 2.0 Token' Assertion with the Client Credentials and Resource Owner Password Credentials grant types. This policy makes use of the OAuth 2.0 test clients (id/secret). For the Resource Owner Password Credentials the Resource Owner ID/PW will need to...
231174163.zip
3 Comments - no search term matches found in comments.
This sample policy uses the Return Template Response to Requestor assertion and JS script to parse and replace the hash fragment with a query parameter that can be sent back to the server. Create a new endpoint on your gateway (i.e: /replaceHash) Import the sample policy This...
161302.zip
1 Comment - no search term matches found in comments.