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

Ludovic Poitou
26.57.2010 2a09ccc55845e4ff56cf1e8dee0a24fe26725063
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
commit2a09ccc55845e4ff56cf1e8dee0a24fe26725063
tree 8912563a93d6961df16e762433d565db07960ce1 tree | zip | gz
parent 20a1963747a1acc0e7870c38ecb5d1f8d5a355d8 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
opends/resource/config/config.ldif 1 ●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 6 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/CryptPasswordStorageSchemeConfiguration.xml 51 ●●●● diff | view | raw | blame | history
opends/src/admin/messages/CryptPasswordStorageSchemeCfgDefn.properties 8 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/CryptPasswordStorageScheme.java 150 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/BSDMD5Crypt.java 291 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/CryptPasswordStorageSchemeTestCase.java 505 ●●●●● diff | view | raw | blame | history