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

neil_a_wilson
06.01.2006 19a4cbeb29fbf1052416728310f062281bceccb4
refs
author neil_a_wilson <neil_a_wilson@localhost>
Friday, October 6, 2006 19:01 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Friday, October 6, 2006 19:01 +0200
commit19a4cbeb29fbf1052416728310f062281bceccb4
tree 2a22a03d37aebb8fb70e4209b97feca19ec916b4 tree | zip | gz
parent 986fae03ea00a14ee69cd093cd69e614ae0aa298 view | diff
Update the password validator API in the following ways:

- Make the current password(s) for the user available so that they can be used
in the process of determining whether the new password is acceptable.

- Rename the passwordIsValid method to passwordIsAcceptable to make it clearer
what the intended purpose of the password validator is.

Also, improve test coverage for the password validator classes.
2 files added
9 files modified
1381 ■■■■■ changed files
opends/src/server/org/opends/server/api/PasswordValidator.java 33 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/AddOperation.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ModifyOperation.java 45 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicyState.java 22 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/LengthBasedPasswordValidator.java 87 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/PasswordModifyExtendedOperation.java 22 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/resource/config-changes.ldif 16 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/api/PasswordValidatorTestCase.java 866 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/PasswordPolicyTestCase.java 4 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/LengthBasedPasswordValidatorTestCase.java 43 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/TestPasswordValidator.java 237 ●●●●● diff | view | raw | blame | history