From e958eb5bcfc9feccbda7c0841b05939506143ad8 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 16 Nov 2007 10:47:40 +0000
Subject: [PATCH] Advanced properties phase 1: tag advanced properties and perform various clean-up to the XML definitions:

---
 opends/src/admin/defn/org/opends/server/admin/std/LengthBasedPasswordValidatorConfiguration.xml |   90 ++++++++++++++++++++++-----------------------
 1 files changed, 44 insertions(+), 46 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/LengthBasedPasswordValidatorConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/LengthBasedPasswordValidatorConfiguration.xml
index 495a4d2..f91306b 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/LengthBasedPasswordValidatorConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/LengthBasedPasswordValidatorConfiguration.xml
@@ -1,42 +1,45 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- ! CDDL HEADER START
- !
- ! The contents of this file are subject to the terms of the
- ! Common Development and Distribution License, Version 1.0 only
- ! (the "License").  You may not use this file except in compliance
- ! with the License.
- !
- ! You can obtain a copy of the license at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
- ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
- ! See the License for the specific language governing permissions
- ! and limitations under the License.
- !
- ! When distributing Covered Code, include this CDDL HEADER in each
- ! file and include the License file at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
- ! add the following below this CDDL HEADER, with the fields enclosed
- ! by brackets "[]" replaced with your own identifying information:
- !      Portions Copyright [yyyy] [name of copyright owner]
- !
- ! CDDL HEADER END
- !
- !
- !      Portions Copyright 2007 Sun Microsystems, Inc.
- ! -->
-
-<adm:managed-object name="length-based-password-validator" 
+  ! CDDL HEADER START
+  !
+  ! The contents of this file are subject to the terms of the
+  ! Common Development and Distribution License, Version 1.0 only
+  ! (the "License").  You may not use this file except in compliance
+  ! with the License.
+  !
+  ! You can obtain a copy of the license at
+  ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
+  ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! When distributing Covered Code, include this CDDL HEADER in each
+  ! file and include the License file at
+  ! trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
+  ! add the following below this CDDL HEADER, with the fields enclosed
+  ! by brackets "[]" replaced with your own identifying information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CDDL HEADER END
+  !
+  !
+  !      Portions Copyright 2007 Sun Microsystems, Inc.
+  ! -->
+<adm:managed-object name="length-based-password-validator"
   plural-name="length-based-password-validators"
   package="org.opends.server.admin.std" extends="password-validator"
   xmlns:adm="http://www.opends.org/admin"
   xmlns:ldap="http://www.opends.org/admin-ldap">
+  <adm:TODO>
+    Use constraints to enforce max-password-length >=
+    min-password-length
+  </adm:TODO>
   <adm:synopsis>
     The
     <adm:user-friendly-name />
-    is used to determine whether a proposed password is acceptable based on
-    whether the number of characters it contains falls within an acceptable
-    range of values.
+    is used to determine whether a proposed password is acceptable based
+    on whether the number of characters it contains falls within an
+    acceptable range of values.
   </adm:synopsis>
   <adm:profile name="ldap">
     <ldap:object-class>
@@ -44,7 +47,7 @@
       <ldap:superior>ds-cfg-password-validator</ldap:superior>
     </ldap:object-class>
   </adm:profile>
-  <adm:property-override name="java-class">
+  <adm:property-override name="java-class" advanced="true">
     <adm:default-behavior>
       <adm:defined>
         <adm:value>
@@ -53,16 +56,14 @@
       </adm:defined>
     </adm:default-behavior>
   </adm:property-override>
-  <adm:property name="max-password-length" mandatory="false">
+  <adm:property name="max-password-length">
     <adm:synopsis>
-      Specifies the maximum number of characters that may be included in a
-      proposed password.
+      Specifies the maximum number of characters that may be included in
+      a proposed password.
     </adm:synopsis>
     <adm:description>
-      Specifies the maximum number of characters that may be included in a
-      proposed password.  A value of zero indicates that there will be no
-      upper bound enforced.  Changes to this configuration attribute will take
-      effect immediately.
+      A value of zero indicates that there will be no upper bound
+      enforced.
     </adm:description>
     <adm:default-behavior>
       <adm:defined>
@@ -78,16 +79,14 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
-  <adm:property name="min-password-length" mandatory="false">
+  <adm:property name="min-password-length">
     <adm:synopsis>
-      Specifies the minimum number of characters that must be included in a
-      proposed password.
+      Specifies the minimum number of characters that must be included
+      in a proposed password.
     </adm:synopsis>
     <adm:description>
-      Specifies the minimum number of characters that must be included in a
-      proposed password.  A value of zero indicates that there will be no
-      lower bound enforced.  Changes to this configuration attribute will take
-      effect immediately.
+      A value of zero indicates that there will be no lower bound
+      enforced.
     </adm:description>
     <adm:default-behavior>
       <adm:defined>
@@ -104,4 +103,3 @@
     </adm:profile>
   </adm:property>
 </adm:managed-object>
-

--
Gitblit v1.10.0