mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
21.13.2016 41c43fc954fef02214a224f83273abdf36cc22a0
opendj-server-legacy/src/main/java/org/forgerock/opendj/server/embedded/ConnectionParameters.java
@@ -26,7 +26,6 @@
  private String hostName;
  private Integer ldapPort;
  private Integer ldapsPort;
  private boolean enableStartTLS;
  private ConnectionParameters()
  {
@@ -43,6 +42,20 @@
    return new ConnectionParameters();
  }
  @Override
  public String toString()
  {
    return "ConnectionParameters ["
        + "host name=" + hostName
        + ", ldap port=" + ldapPort
        + ", ldaps port=" + ldapsPort
        + ", admin port=" + adminPort
        + ", bind DN=" + bindDn
        + ", admin uid=" + adminUid
        + "]";
  }
  String getAdminPassword()
  {
    return adminPassword;
@@ -83,11 +96,6 @@
    return ldapsPort;
  }
  boolean isStartTLSEnabled()
  {
    return enableStartTLS;
  }
  /**
   * Sets the password of the Global Administrator to use to bind to the server.
   *
@@ -154,19 +162,6 @@
  }
  /**
   * Sets the start TLS indicator.
   *
   * @param startTLS
   *          the indicator which should be {@code true} to enable StartTLS, {@code false} otherwise
   * @return this builder
   */
  public ConnectionParameters enableStartTLS(boolean startTLS)
  {
    enableStartTLS = startTLS;
    return this;
  }
  /**
   * Sets the the fully-qualified directory server host name.
   *
   * @param hostName