From bfbe674d3e497a190490f47a3530266f3421ced6 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Sat, 01 Sep 2007 17:38:28 +0000
Subject: [PATCH] Fix a number of bugs in the implementation of Replication CLI.  The utility now is able to enable, disable and initialize suffixes.  The latest modifications introduced by Scott in the class Installer are also included in this commit.

---
 opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/DisableReplicationUserData.java |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/DisableReplicationUserData.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/DisableReplicationUserData.java
index 99219ea..8de5f31 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/DisableReplicationUserData.java
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/DisableReplicationUserData.java
@@ -39,6 +39,8 @@
   private int port;
   private boolean useStartTLS;
   private boolean useSSL;
+  private String bindDn;
+  private String bindPwd;
 
   /**
    * Returns the host name of the server.
@@ -114,4 +116,46 @@
   {
     this.useStartTLS = useStartTLS;
   }
+
+  /**
+   * Returns the bind DN to be used to connect to the server if no Administrator
+   * has been defined.
+   * @return the bind DN to be used to connect to the server if no Administrator
+   * has been defined.
+   */
+  public String getBindDn()
+  {
+    return bindDn;
+  }
+
+  /**
+   * Sets the bind DN to be used to connect to the server if no Administrator
+   * has been defined.
+   * @param bindDn the bind DN to be used.
+   */
+  public void setBindDn(String bindDn)
+  {
+    this.bindDn = bindDn;
+  }
+
+  /**
+   * Returns the password to be used to connect to the server if no
+   * Administrator has been defined.
+   * @return the password to be used to connect to the server if no
+   * Administrator has been defined.
+   */
+  public String getBindPwd()
+  {
+    return bindPwd;
+  }
+
+  /**
+   * Sets the password to be used to connect to the server if no Administrator
+   * has been defined.
+   * @param bindPwd the password to be used.
+   */
+  public void setBindPwd(String bindPwd)
+  {
+    this.bindPwd = bindPwd;
+  }
 }

--
Gitblit v1.10.0