From 001545b7d1348179cf27693be1e42e5c03adf66a Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 30 Nov 2006 17:37:24 +0000
Subject: [PATCH] Update the schema backend so that the attributes used to represent schema information are treated correctly according to their definitions.  In particular, attributeTypes, objectClasses, matchingRules, and ldapSyntaxes are now properly treated as operational attributes and not returned unless explicitly requested.  It is possible to override this behavior for backward compatibility with clients that expect them to always be returned, but this may be deprecated in the future.

---
 opends/src/server/org/opends/server/config/ConfigConstants.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/config/ConfigConstants.java b/opends/src/server/org/opends/server/config/ConfigConstants.java
index 618fc78..8bb712d 100644
--- a/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -240,6 +240,24 @@
 
 
   /**
+   * The name of the configuration attribute that indicates whether the
+   * subschema entry should treat all attributes as user attributes or if it
+   * should treat them as per their definition in the schema.
+   */
+  public static final String ATTR_SCHEMA_SHOW_ALL_ATTRIBUTES =
+       NAME_PREFIX_CFG + "show-all-attributes";
+
+
+
+  /**
+   * The default value that will be used regarding treating all subschema entry
+   * attributes as user attributes if it is not defined in the configuration.
+   */
+  public static final boolean DEFAULT_SCHEMA_SHOW_ALL_ATTRIBUTES = false;
+
+
+
+  /**
    * The name of the configuration attribute that indicates whether to allow
    * clients to use the startTLS extended operation.
    */

--
Gitblit v1.10.0