From be85abb8e2dc82f709e1b3f6c4ad9ddce04849dc Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Mar 2013 08:58:11 +0000
Subject: [PATCH] OPENDJ-808 Implement a simple commons REST based HTTP connection handler

---
 opends/src/messages/messages/protocol.properties |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/opends/src/messages/messages/protocol.properties b/opends/src/messages/messages/protocol.properties
index 4856b29..1e17cb3 100644
--- a/opends/src/messages/messages/protocol.properties
+++ b/opends/src/messages/messages/protocol.properties
@@ -21,6 +21,7 @@
 # CDDL HEADER END
 #
 #      Copyright 2006-2009 Sun Microsystems, Inc.
+#      Portions copyright 2013 ForgeRock AS
 
 
 
@@ -497,13 +498,13 @@
  defined in configuration entry %s was unable to create any of the socket \
  channels on any of the configured addresses.  This connection handler will be \
  disabled
-MILD_ERR_LDAP_CONNHANDLER_DENIED_CLIENT_180=The connection attempt from \
+MILD_ERR_CONNHANDLER_DENIED_CLIENT_180=The connection attempt from \
  client %s to %s has been rejected because the client was included in one of \
  the denied address ranges
-MILD_ERR_LDAP_CONNHANDLER_DISALLOWED_CLIENT_181=The connection attempt from \
+MILD_ERR_CONNHANDLER_DISALLOWED_CLIENT_181=The connection attempt from \
  client %s to %s has been rejected because the client was not included in one \
  of the allowed address ranges
-INFO_LDAP_CONNHANDLER_UNABLE_TO_REGISTER_CLIENT_182=An internal error \
+INFO_CONNHANDLER_UNABLE_TO_REGISTER_CLIENT_182=An internal error \
  prevented the Directory Server from properly registering the client \
  connection from %s to %s with an appropriate request handler:  %s
 MILD_ERR_LDAP_CONNHANDLER_CANNOT_ACCEPT_CONNECTION_183=The LDAP connection \
@@ -606,7 +607,7 @@
  handler thread "%s" encountered an unexpected error that would have caused \
  the thread to die:  %s.  The error has been caught and the request handler \
  should continue operating as normal
-MILD_ERR_LDAP_CONNHANDLER_REJECTED_BY_SERVER_214=The attempt to register this \
+MILD_ERR_CONNHANDLER_REJECTED_BY_SERVER_214=The attempt to register this \
  connection with the Directory Server was rejected.  This might indicate that \
  the server already has the maximum allowed number of concurrent connections \
  established, or that it is in a restricted access mode
@@ -870,9 +871,9 @@
  not allow clients to close a StartTLS session on a client connection while \
  leaving the underlying TCP connection active.  The TCP connection will be \
  closed
-NOTICE_LDAP_CONNHANDLER_STARTED_LISTENING_276=Started listening for new \
+NOTICE_CONNHANDLER_STARTED_LISTENING_276=Started listening for new \
  connections on %s
-NOTICE_LDAP_CONNHANDLER_STOPPED_LISTENING_277=Stopped listening for new \
+NOTICE_CONNHANDLER_STOPPED_LISTENING_277=Stopped listening for new \
  connections on %s
 MILD_ERR_LDAP_PAGED_RESULTS_DECODE_NULL_278=Cannot decode the provided ASN.1 \
  element as an LDAP paged results control value because the element is null
@@ -1311,10 +1312,8 @@
  matching rule ID.  At least one of them must be provided
 MILD_ERR_LDAPV2_CONTROLS_NOT_ALLOWED_431=LDAPv2 clients are not allowed to \
  use request controls
-SEVERE_ERR_LDAP_CONNHANDLER_CANNOT_BIND_432=The LDAP connection handler \
+SEVERE_ERR_CONNHANDLER_CANNOT_BIND_432=The %s connection handler \
  defined in configuration entry %s was unable to bind to %s:%d:  %s
-SEVERE_ERR_JMX_CONNHANDLER_CANNOT_BIND_433=The JMX connection handler defined \
- in configuration entry %s was unable to bind to port %d:  %s
 MILD_ERR_JMX_ADD_INSUFFICIENT_PRIVILEGES_434=You do not have sufficient \
  privileges to perform add operations through JMX
 MILD_ERR_JMX_DELETE_INSUFFICIENT_PRIVILEGES_435=You do not have sufficient \
@@ -1431,3 +1430,8 @@
 MILD_ERR_LDAP_CLIENT_IO_ERROR_DURING_READ_1513=An IO error occurred while \
  reading a request from the client: %s
 MILD_ERR_LDAP_CLIENT_IO_ERROR_BEFORE_READ_1514=Connection reset by client
+INFO_HTTP_CONNHANDLER_STARTTLS_NOT_SUPPORTED_1515=The HTTP connection handler \
+ does not support StartTLS operations
+MILD_ERR_CONNHANDLER_CONFIG_CHANGES_REQUIRE_RESTART_1516=The server received \
+ configuration changes that require a restart of the %s connection handler \
+ to take effect

--
Gitblit v1.10.0