1 to 10 of 13
Sort by

Library Entry
Policy Repository: Random number generator

A simple policy that allows you to generate a random number of a fixed length. To use:   Open policy manager and create a test service Download the attached file and import the XML file into your new service Modify this variable as needed: LENGTH : The number of digits to be...

Library Entry
Policy Repository: Date Validation

Sometimes it may be necessary to perform date validation to confirm invalid data is not supplied. For example, you may need to prevent bad data like February 52, 2018 from being sent to a back end server.   The attached sample policy retrieves a data from a JSON Payload and validates it....

Library Entry
Client Creds

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...