server
server copied to clipboard
Documentation - Provide API request/response samples in JSON
Currently, there are only examples for Content-Type/Accept = application/xml in doc. Provide some for Content-Type/Accept = application/json
Plenty of raw examples in the test suite output to take from (that you can get by running maven test in webapp module after changing log level to INFO for logger org.apache.cxf in src/test/resources/authzforce-ce-server/conf/logback.xml):
It is not yet certain that it is worth the trouble because:
- On PAP API, the JSON format has serious limitations compared to XACML/XML.
- For the PDP API, the JSON format (for XACML Requests/Responses) is the one already fully specified in this XACML standard: JSON Profile of XACML 3.0 Version 1.1. So please refer to it.