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

Ludovic Poitou
26.57.2010 a8d1e63227200136e36d7ace664a099e78aaab10
refs
author Ludovic Poitou <ludovic.poitou@forgerock.com>
Tuesday, October 26, 2010 13:57 +0200
committer Ludovic Poitou <ludovic.poitou@forgerock.com>
Tuesday, October 26, 2010 13:57 +0200
commita8d1e63227200136e36d7ace664a099e78aaab10
tree e735e56eb18a1aca77ad5662855337c3d4a5bf8b tree | zip | gz
parent f77d00a4b0b9c4b81f857ab4aed2d8879668edc3 view | diff
Resolves Enhancement request OpenDJ-5: Support Linux md5 crypt storage for password
This changes are adding support for the BSD MD5 crypt hash as part of the CRYPT password storage scheme.
A new parameter has been added to the configuration of the storage scheme to select whether new passwords should be hashed with the unix algo (default) or the md5 one.
When it comes to authentication, the scheme is able to detect the algo (based on the $1$ prefix) and match appropriately.
Unit tests have been added, including test again passwords already hashed on Linux systems.
1 files added
6 files modified
1012 ■■■■■ changed files
opendj-sdk/opends/resource/config/config.ldif 1 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/schema/02-config.ldif 6 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/CryptPasswordStorageSchemeConfiguration.xml 51 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/messages/CryptPasswordStorageSchemeCfgDefn.properties 8 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/CryptPasswordStorageScheme.java 150 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/BSDMD5Crypt.java 291 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/CryptPasswordStorageSchemeTestCase.java 505 ●●●●● diff | view | raw | blame | history