From d615093a25d37e8e03f98158583a901d6c840e86 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 Sep 2007 15:47:50 +0000
Subject: [PATCH] Add support for specifying arbitrary constraints in managed object definitions and use it within the LDAP and JMX connection handlers to enforce their SSL/StartTLS settings. This feature will be re-used for other managed object definitions as the need arises.

---
 opendj-sdk/opends/resource/admin/preprocessor.xsl |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/resource/admin/preprocessor.xsl b/opendj-sdk/opends/resource/admin/preprocessor.xsl
index c0ae6f5..a890baa 100644
--- a/opendj-sdk/opends/resource/admin/preprocessor.xsl
+++ b/opendj-sdk/opends/resource/admin/preprocessor.xsl
@@ -182,6 +182,14 @@
         <xsl:with-param name="hierarchy" select="$hierarchy" />
       </xsl:apply-templates>
       <!--
+        Copy constraint elements.
+      -->
+      <xsl:apply-templates select="adm:constraint" mode="pre-process">
+        <xsl:with-param name="moname" select="@name" />
+        <xsl:with-param name="mopackage" select="@package" />
+        <xsl:with-param name="hierarchy" select="$hierarchy" />
+      </xsl:apply-templates>
+      <!--
         Copy profile elements.
       -->
       <xsl:apply-templates select="adm:profile" mode="pre-process">

--
Gitblit v1.10.0