mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

rhaggard
06.09.2008 952ce880317825f16c256fb716167eb7fddeda49
opends/src/admin/defn/org/opends/server/admin/std/SimilarityBasedPasswordValidatorConfiguration.xml
@@ -23,7 +23,7 @@
  ! CDDL HEADER END
  !
  !
  !      Portions Copyright 2007 Sun Microsystems, Inc.
  !      Portions Copyright 2007-2008 Sun Microsystems, Inc.
  ! -->
<adm:managed-object name="similarity-based-password-validator"
  plural-name="similarity-based-password-validators"
@@ -33,10 +33,22 @@
  <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.
    determines whether a proposed password is acceptable by measuring
    how similar it is to the user's current password.
  </adm:synopsis>
  <adm:description>
    In particular,
    it uses the Levenshtein Distance algorithm to determine the
    minimum number of changes (where a change may be inserting,
    deleting, or replacing a character) to transform one string into
    the other. It can be used to prevent users from making only minor
    changes to their current password when setting a new password.
    Note that for this password validator to be effective, it is
    necessary to have access to the user's current password.
    Therefore, if this password validator is to be enabled, the
    password-change-requires-current-password attribute in the
    password policy configuration must also be set to true.
  </adm:description>
  <adm:profile name="ldap">
    <ldap:object-class>
      <ldap:name>ds-cfg-similarity-based-password-validator</ldap:name>
@@ -57,11 +69,11 @@
      Specifies the minimum difference of new and old password.
    </adm:synopsis>
    <adm:description>
      A value of zero indicates that there will be no difference is
      A value of zero indicates that no difference between passwords is
      acceptable.
    </adm:description>
    <adm:syntax>
      <adm:integer lower-limit="0" />
      <adm:integer lower-limit="0" upper-limit="2147483647"/>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>