mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
22.22.2016 f38ae1391a42405f80b3e15bcaa2354f5b94994e
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, September 22, 2016 17:22 +0200
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, September 23, 2016 14:57 +0200
commitf38ae1391a42405f80b3e15bcaa2354f5b94994e
tree 54d02f713080f55560e24e77efbcf4c51a31aa45 tree | zip | gz
parent 4f99c1a3cd5ee7b2d61a0e259d98b4b9fd85f9b2 view | diff
OPENDJ-3332 Rest2ldap: return the OpenAPI descriptors over REST

Follow up of CHF-135 "Api descriptor requests (?_api) cannot be proxified".
This change allows to query OpenAPI descriptions by using the "_api" query parameter.

Add the OpenApiRequestFilter to the filter chains to handle requests using the "_api" query parameter.
4 files modified
17 ■■■■ changed files
opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LdapHttpApplication.java 2 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java 4 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/rest2ldap/AdminEndpoint.java 5 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/rest2ldap/Rest2LdapEndpoint.java 6 ●●●● diff | view | raw | blame | history