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

Jean-Noel Rouvignac
12.00.2013 ab5ee2d4ce27ec1e0efb8e41957bda50cedae187
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
commitab5ee2d4ce27ec1e0efb8e41957bda50cedae187
tree 023ea3298f33fd627f55b658bc826fb3e50692c5 tree | zip | gz
parent 828abccb259536427fd416b73469ab18520406d3 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
opends/resource/config/config.ldif 1 ●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 9 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml 32 ●●●●● diff | view | raw | blame | history
opends/src/admin/messages/HTTPConnectionHandlerCfgDefn.properties 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 66 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/HTTPConnectionHandler.java 14 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilterTest.java 26 ●●●● diff | view | raw | blame | history