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

Jean-Noel Rouvignac
10.49.2013 7d0a463c658fe30fef8bfa93856a15e1ac08659b
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
commit7d0a463c658fe30fef8bfa93856a15e1ac08659b
tree 96530c4259f9bf3ce5e1240423a17fe1e8a112da tree | zip | gz
parent 4f7c39b4ffccb12e9ae9f8a70db359216f8115c8 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
opends/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 23 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilterTest.java 22 ●●●●● diff | view | raw | blame | history