From 506819cd66c81642fb3f0a334d75771a77350a6c Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 12 Aug 2009 23:25:29 +0000
Subject: [PATCH] Remove the boolean member isClientBootstrapped. Originally it was used to only execute the code of the method bootstrapClient once, however this is not ideal for some client codes. Some methods, such as initializeConfiguration, require the DirectoryServer object to be 'clean' (freshly bootstrapped), this can only be achieved by executing all the code of bootstrapClient.
---
opends/src/server/org/opends/server/core/DirectoryServer.java | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index 736afbe..713686e 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -379,9 +379,6 @@
// Indicates whether the server has been bootstrapped.
private boolean isBootstrapped;
- // Indicates whether the server has been bootstrapped for client use.
- private boolean isClientBootstrapped;
-
// Indicates whether the server is currently online.
private boolean isRunning;
@@ -802,7 +799,6 @@
{
environmentConfig = config;
isBootstrapped = false;
- isClientBootstrapped = false;
isRunning = false;
shuttingDown = false;
lockdownMode = false;
@@ -905,11 +901,6 @@
{
synchronized (directoryServer)
{
- if (directoryServer.isClientBootstrapped)
- {
- return;
- }
-
// Set default values for variables that may be needed during schema
// processing.
@@ -8425,7 +8416,6 @@
{
checkSchema = true;
isBootstrapped = false;
- isClientBootstrapped = false;
isRunning = false;
lockdownMode = true;
rejectUnauthenticatedRequests = true;
--
Gitblit v1.10.0