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

Jean-Noel Rouvignac
20.58.2013 be85abb8e2dc82f709e1b3f6c4ad9ddce04849dc
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 20, 2013 09:58 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 20, 2013 09:58 +0100
commitbe85abb8e2dc82f709e1b3f6c4ad9ddce04849dc
tree 93b25a660214a89d18e74830038eb2d15203fe26 tree | zip | gz
parent 3556e7d2eecb1f89a24f67009d189ab71e6116f0 view | diff
OPENDJ-808 Implement a simple commons REST based HTTP connection handler

Added the HTTPConnnectionHandler implemented using Grizzly.
Added support for all configuration similar to the LDAPConnectionHandler.
Missing support for ds-cfg-keep-stats and ds-cfg-num-request-handlers.


config.ldif, 02-config.ldif:
Added new entry for HTTP connection handler + defaults.

HTTPConnectionHandlerCfgDefn.properties, HTTPConnectionHandlerConfiguration.xml: ADDED

LDAPConnectionHandlerConfiguration.xml:
Moved properties common to HTTPConnectionHandlerConfiguration.xml to Package.xml .

protocol*.properties:
Merged protocol messages between LDAP, HTTP and JMX. Made them non LDAP specific.
Added 2 new protocol messages for HTTP.


CollectClientConnectionsFilter.java, HTTPClientConnection.java, HTTPConnectionHandler.java, package-info.java: ADDED

JmxClientConnection.java, JmxConnectionHandler.java, LDAPClientConnection.java:
Used common protocol messages.

LDAPConnectionHandler.java
Used common protocol messages.
Extracted method configureSSL()
Simplified the code in getEnabledSSLCipherSuites() and getEnabledSSLProtocols() and protected against a multi threaded change ofg the SSL engine by using a local copy.

6 files added
18 files modified
2550 ■■■■ changed files
opends/resource/config/config.ldif 21 ●●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 23 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml 430 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/LDAPConnectionHandlerConfiguration.xml 96 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/Package.xml 93 ●●●●● diff | view | raw | blame | history
opends/src/admin/messages/HTTPConnectionHandlerCfgDefn.properties 56 ●●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol.properties 22 ●●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_ca_ES.properties 4 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_de.properties 17 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_es.properties 17 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_fr.properties 19 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_ja.properties 16 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_ko.properties 16 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_pl.properties 2 ●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_zh_CN.properties 16 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol_zh_TW.properties 16 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 167 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/HTTPClientConnection.java 344 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/HTTPConnectionHandler.java 918 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/package-info.java 37 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/jmx/JmxClientConnection.java 30 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/jmx/JmxConnectionHandler.java 35 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 19 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java 136 ●●●● diff | view | raw | blame | history