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

Jean-Noël Rouvignac
03.27.2016 6a60952f916a84257b0d2ac585a81fdf98d46c9a
opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionWrapper.java
@@ -277,11 +277,11 @@
  }
  /**
   * Returns whether this connection uses SSL.
   * Returns whether this connection uses LDAPS.
   *
   * @return {@code true} if this connection uses SSL {@code false} otherwise.
   * @return {@code true} if this connection uses LDAPS, {@code false} otherwise.
   */
  public boolean isSSL()
  public boolean isLdaps()
  {
    return getConnectionType() == LDAPS;
  }
@@ -289,9 +289,9 @@
  /**
   * Returns whether this connection uses StartTLS.
   *
   * @return {@code true} if this connection uses StartTLS {@code false} otherwise.
   * @return {@code true} if this connection uses StartTLS, {@code false} otherwise.
   */
  public boolean isStartTLS()
  public boolean isStartTls()
  {
    return getConnectionType() == START_TLS;
  }
@@ -308,7 +308,7 @@
  private InitialLdapContext createAdministrativeContext0() throws NamingException
  {
    final String ldapUrl = getLDAPUrl(getHostPort(), isSSL());
    final String ldapUrl = getLDAPUrl(getHostPort(), isLdaps());
    final String bindDnStr = bindDn.toString();
    switch (connectionType)
    {