From 87634d96bab9626809797c5d2dad68b07ec2961f Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 05 Apr 2007 22:42:35 +0000
Subject: [PATCH] Update the server so that it is possible to start in a mode in which the server is completely functional but does not accept connections from external clients. This will be available if the org.opends.server.DisableConnectionHandlers property is set with a value of "true".
---
opends/src/server/org/opends/server/util/ServerConstants.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index 990b2b6..57ebefc 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -2236,6 +2236,17 @@
/**
+ * The name of the system property that can be used to disable any connection
+ * handler that may be enabled in the server configuration. This may be used
+ * to start the server in a mode where it will not accept any external
+ * connections, but may still be used for processing internal operations.
+ */
+ public static final String PROPERTY_DISABLE_CONNECTION_HANDLERS =
+ "org.opends.server.DisableConnectionHandlers";
+
+
+
+ /**
* The name of the system property that can be used to indicate whether
* components should be allowed to use the <CODE>Runtime.exec</CODE> method.
* If this property is set and the value is anything other than "false",
--
Gitblit v1.10.0