Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation - Provide API request/response samples in JSON #27

Open
cdanger opened this issue Jul 17, 2018 · 0 comments
Open

Documentation - Provide API request/response samples in JSON #27

cdanger opened this issue Jul 17, 2018 · 0 comments
Assignees

Comments

@cdanger
Copy link
Member

cdanger commented Jul 17, 2018

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):

TestSuite-output.txt

It is not yet certain that it is worth the trouble because:

  1. On PAP API, the JSON format has serious limitations compared to XACML/XML.
  2. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant