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

neil_a_wilson
26.36.2007 815cf928723695217a930f2f5a3baf9a4a19d057
refs
author neil_a_wilson <neil_a_wilson@localhost>
Monday, March 26, 2007 02:36 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Monday, March 26, 2007 02:36 +0200
commit815cf928723695217a930f2f5a3baf9a4a19d057
tree f1e142abe4705f791d5408629e7930c8cc994c8c tree | zip | gz
parent 7217cf9a5eb4ca210efd78c461b3004246e6c71e view | diff
Add a new password validator that determines whether a proposed new password
is acceptable based on how similar it is to the user's current password. The
processing uses the Levenshtein Distance algorithm to determine the number of
changes required to convert the current password into the new password (a
change may be either inserting a new character, removing an existing character,
or replacing an existing character).

Contributed By: Ales Novak
OpenDS Issue Number: 340
5 files modified
5 files added
1065 ■■■■■ changed files
opends/resource/config/config.ldif 9 ●●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 8 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/SimilarityBasedPasswordValidatorConfiguration.xml 46 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/config/ConfigConstants.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/SimilarityBasedPasswordValidator.java 162 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/ExtensionsMessages.java 53 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/LevenshteinDistance.java 154 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/LengthBasedPasswordValidatorTestCase.java 2 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SimilarityBasedPasswordValidatorTestCase.java 386 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/util/LevenshteinDistanceTestCase.java 239 ●●●●● diff | view | raw | blame | history