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/messagesMO.xsl | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/resource/admin/messagesMO.xsl b/opendj-sdk/opends/resource/admin/messagesMO.xsl
index 3b08e7b..44efad7 100644
--- a/opendj-sdk/opends/resource/admin/messagesMO.xsl
+++ b/opendj-sdk/opends/resource/admin/messagesMO.xsl
@@ -72,6 +72,15 @@
</xsl:for-each>
</xsl:if>
<!--
+ Process any constraints associated with this managed object definition.
+ -->
+ <xsl:if test="$this/adm:constraint">
+ <xsl:for-each select="$this/adm:constraint">
+ <xsl:value-of
+ select="concat('constraint.', position(), '.synopsis=', normalize-space(adm:synopsis), '
')" />
+ </xsl:for-each>
+ </xsl:if>
+ <!--
Process each property definition.
-->
<xsl:for-each select="$this-all-properties">
--
Gitblit v1.10.0