Axway API Gateway propose a “JDBC” Filter that can be used to query the database. However, by default, the filter returns a Java structure (HashMap / Array / Scalar) The following groovy script is used to query the database and return the results as a JSON structure
This artefact was successfully tested for the following versions:
- 7.4.1
- 7.5.3
Sample Policy to authenticate a user against a database with hashed and salted password

Some remarks about the JSON conversion :
- This is done by a Groovy script (one line)
- This is a built-in feature of Groovy (so, no code to maintain)
Nothing identified
Please read Contributing.md for details on our code of conduct, and the process for submitting pull requests to us.

