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

neil_a_wilson
14.23.2006 c369bb65ccddc6c59feb5db6c80ad4a7fb2baafe
refs
author neil_a_wilson <neil_a_wilson@localhost>
Tuesday, November 14, 2006 18:23 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Tuesday, November 14, 2006 18:23 +0100
commitc369bb65ccddc6c59feb5db6c80ad4a7fb2baafe
tree 79bb38623a0f41e1de4e68e20634983f273acb77 tree | zip | gz
parent 4044df9524cc5cb9355abb790006698c47cc5baf view | diff
Make a number of changes to the encode-password tool:

- It is no longer necessary to specify the password storage scheme separately
from the encoded value when comparing an encoded password. This makes this
feature easier to use because it takes the data in the same format as is
created by when encoding a clear-text password and as is stored in the
directory. Issue #971.

- When comparing a clear-text password against an encoded version, you can now
use the --useCompareResultCode option to cause the tool to exit with a return
code of COMPARE_TRUE or COMPARE_FALSE, which is more useful when calling the
utility in a script. Previously, it would always return zero to indicate
that the script completed successfully, regardless of whether the provided
password matched or not. Issue #988.

- I've made the tool easier to call programmatically by adding additional
methods that can be used to invoke it, by making it possible to avoid
reinitializing the server, to provide alternate output and error streams (or
eliminate the output entirely), and to return an integer value rather than
using System.exit. This all kind of falls under the umbrella of issue #987.
1 files added
2 files modified
1400 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/messages/ToolMessages.java 26 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/EncodePassword.java 603 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/EncodePasswordTestCase.java 771 ●●●●● diff | view | raw | blame | history