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

Jean-Noel Rouvignac
20.58.2013 2aa388218e55a4b3c828466f822445e3fa618cfa
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
commit2aa388218e55a4b3c828466f822445e3fa618cfa
tree a2821a776bc6568d4a40fd759df990e24c905e14 tree | zip | gz
parent ededb61c281dbdacf7e9e8fe5e24800ff9ce5a80 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
opendj-sdk/opends/resource/config/config.ldif 21 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/schema/02-config.ldif 23 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml 430 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/LDAPConnectionHandlerConfiguration.xml 96 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/Package.xml 93 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/messages/HTTPConnectionHandlerCfgDefn.properties 56 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol.properties 22 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_ca_ES.properties 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_de.properties 17 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_es.properties 17 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_fr.properties 19 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_ja.properties 16 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_ko.properties 16 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_pl.properties 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_zh_CN.properties 16 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol_zh_TW.properties 16 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 167 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/http/HTTPClientConnection.java 344 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/http/HTTPConnectionHandler.java 918 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/http/package-info.java 37 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/JmxClientConnection.java 30 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/JmxConnectionHandler.java 35 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 19 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java 136 ●●●● diff | view | raw | blame | history