We are assuming in these examples, that our test gateway will be running at 'http://gateway.address.com'.
This sample uses a filter to check if the current request should proceed or not.
That example will avoid that a request containing the query parameter 'denyParam=1' proceed. Eg: Eg. curl http://gateway.address.com/filtered/get?denyParam=1
This sample uses the ipfilter (included into Tree Gateway distribution) to check if the current request should proceed or not.
We enable access only to localhost requests and configure a database pooling for aditional IPs that should be allowed.
This sample uses the ipfilter (included into Tree Gateway distribution) to check if the current request should proceed or not.
We enable access to all request except to requests coming from localhost.