From 6dbc45c1b1a8025baf86d07bae5645dd249953c3 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 04 Sep 2007 23:54:02 +0000
Subject: [PATCH] Add a new LDIF connection handler, which can be used to watch for new LDIF files to be created in a directory, at which point the changes contained in those LDIF files will be processed by the server using internal operations. This can potentially be used to make configuration changes or invoke tasks if the server is unresponsive to external clients (e.g., all worker threads are busy).

---
 opendj-sdk/opends/resource/config/config.ldif |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/resource/config/config.ldif b/opendj-sdk/opends/resource/config/config.ldif
index 36bf959..958e046 100644
--- a/opendj-sdk/opends/resource/config/config.ldif
+++ b/opendj-sdk/opends/resource/config/config.ldif
@@ -458,6 +458,16 @@
 ds-cfg-key-manager-provider-dn: cn=JKS,cn=Key Manager Providers,cn=config
 ds-cfg-trust-manager-provider-dn: cn=JKS,cn=Trust Manager Providers,cn=config
 
+dn: cn=LDIF Connection Handler,cn=Connection Handlers,cn=config
+objectClass: top
+objectClass: ds-cfg-connection-handler
+objectClass: ds-cfg-ldif-connection-handler
+cn: LDIF Connection Handler
+ds-cfg-connection-handler-class: org.opends.server.protocols.LDIFConnectionHandler
+ds-cfg-connection-handler-enabled: true
+ds-cfg-ldif-directory: config/auto-process-ldif
+ds-cfg-poll-interval: 5 seconds
+
 dn: cn=JMX Connection Handler,cn=Connection Handlers,cn=config
 objectClass: top
 objectClass: ds-cfg-connection-handler

--
Gitblit v1.10.0