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

Jean-Noel Rouvignac
12.00.2013 9b23d35669a53b0d12771acae2c9cddb76aff3f2
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, April 12, 2013 11:00 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, April 12, 2013 11:00 +0200
commit9b23d35669a53b0d12771acae2c9cddb76aff3f2
tree 11c651f01ffac9e6f4b0ef862b55889984407836 tree | zip | gz
parent 08004fdc67432478973c0b6b0473df45ea012594 view | diff
OPENDJ-830 (CR-1538) Implement authentication and authorization for HTTP connection handler

Added the possibility for the HTTP Connection Handler to accept unauthenticated requests.

CollectClientConnectionsFilter.java:
Extracted method getAuthenticationInfo() and added support for unauthenticated requests here.

CollectClientConnectionsFilterTest.java:
Added tests.

HTTPConnectionHandler.java:
Added acceptUnauthenticatedRequests().

config.ldif, 02-config.ldif, HTTPConnectionHandlerConfiguration.xml, HTTPConnectionHandlerCfgDefn.properties:
Added property 'ds-cfg-authentication-required' with default 'true' to HTTP Connection Handler
7 files modified
152 ■■■■ changed files
opendj-sdk/opends/resource/config/config.ldif 1 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/schema/02-config.ldif 9 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml 32 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/messages/HTTPConnectionHandlerCfgDefn.properties 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 66 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/http/HTTPConnectionHandler.java 14 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilterTest.java 26 ●●●● diff | view | raw | blame | history