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

jvergara
13.21.2007 73fe1b1f4f6c50c2e8d4de7b3b0e09f9c5f1365b
opendj-sdk/opends/src/ads/org/opends/admin/ads/ServerDescriptor.java
@@ -651,7 +651,7 @@
      String id = getFirstValue(sr, "ds-cfg-backend-id");
      if (!isConfigBackend(id))
      if (!isConfigBackend(id) || isSchemaBackend(id))
      {
        Set<String> baseDns = getValues(sr, "ds-cfg-backend-base-dn");
@@ -1002,6 +1002,17 @@
  }
  /**
   * An convenience method to know if the provided ID corresponds to the schema
   * backend or not.
   * @param id the backend ID to analyze
   * @return <CODE>true</CODE> if the the id corresponds to the schema backend
   * and <CODE>false</CODE> otherwise.
   */
  private static boolean isSchemaBackend(String id)
  {
    return "schema".equalsIgnoreCase(id);
  }
  /**
   * Returns <CODE>true</CODE> if the the provided strings represent the same
   * DN and <CODE>false</CODE> otherwise.
   * @param dn1 the first dn to compare.