-
cdanger authored
- Changed parent project version: 5.1.0 -> 7.0.0 - Changed dependency versions: - core version: 8.0.0 -> 10.0.0 -> changed PDP configuration XSD version: 5.0.0 -> 6.0.0 (requestFilter/resultFilter replaced with inoutProcChain/requestPreproc|resultPostproc) - core-pap-api version: 6.4.0 -> 9.0.0, pap-dao-flat-file version: 8.1.0 -> 9.0.0 - rest-api-model: 5.4.0 -> 5.6.0 providing XACML JSON Profile compliance (application/xacml+xml and application/xacml+json media types now supported), and new '/version' resource providing product metadata - Added new JNDI environment properties: org.ow2.authzforce.domains.enableXacmlJsonProfile (true iff JSON-Profile support is enabled on PDPs), org.ow2.authzforce.webapp.publishedEndpointUrl (base address in WADL), org.ow2.authzforce.webapp.jsonKeysWithArrays (comma-separated list of JSON keys with values serialized to arrays always), org.ow2.authzforce.webapp.noNamespaceInJsonOutput (true iff namespaces dropped in JSON output), org.ow2.authzforce.webapp.jsonKeysToXmlAttributes (comma-separated list of keys of JSON objects to be deserialized as XML attributes), org.ow2.authzforce.webapp.xmlAttributesToJsonLikeElements (org.ow2.authzforce.webapp.xmlAttributesToJsonLikeElements) - New configuration file for configuring CXF/JAX-RS JSON Provider's inTransformElements property (http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-CustomizingJAXBXMLandJSONinputandoutput): json-to-xml-map.properties - New /version resource implementation class (ProductMetadataResourceImpl) providing product name/version/release date, server uptime and API doc URL) based on file 'org.ow2.authzforce.server.product.properties' auto-filled by Maven build - Moved generic JAX-RS extensions (ExceptionMapper, ContainerRequestFilter...) to new separate authzforce-ce-jaxrs-utils project - Applied new naming conventions for Java classes with acronyms (only first letter is uppercase) - Renamed JsonJaxrsProvider class to JSONProvider - JSON schema validation base on XSD for application/json provider (JSONProvider) - Added JSON Profile support using org.json API: new JsonRiCxfJaxrsProvider as JAX-RS/CXF Provider supporting security properties restricting the size of JSON strings, max number of JSON keys/items in a JSON object/array, max JSON object depth
c4a4a517