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

Jean-Noel Rouvignac
10.49.2013 c401a60bd7ae6b9363f86488ef8b31a1a245014c
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, April 10, 2013 09:49 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, April 10, 2013 09:49 +0200
commitc401a60bd7ae6b9363f86488ef8b31a1a245014c
tree ce21a34a9d0a873464c9b58463047fbbaf710595 tree | zip | gz
parent e3375c6acfefd70d2aeeec67fb8e630e9ffe3686 view | diff
OPENDJ-830 (CR-1522) Implement authentication and authorization for HTTP connection handler

Output an error JSON document in case of authentication failure.

CollectClientConnectionsFilter.java:
In sendUnauthorizedResponseWithHTTPBasicAuthChallenge(), send a JSON document to the caller to bring the HTTP Connection Handler at par with the gateway.

CollectClientConnectionsFilterTest.java:
Updated tests.
2 files modified
45 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 23 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilterTest.java 22 ●●●●● diff | view | raw | blame | history