From b08bd4dd4b0d4d17d4907c605dba11020cf11922 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.
---
opends/resource/admin/preprocessor.xsl | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/opends/resource/admin/preprocessor.xsl b/opends/resource/admin/preprocessor.xsl
index c0ae6f5..a890baa 100644
--- a/opends/resource/admin/preprocessor.xsl
+++ b/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