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

neil_a_wilson
26.57.2007 410c65c22c94384d9afd0741b618c96a97b81ed6
refs
author neil_a_wilson <neil_a_wilson@localhost>
Tuesday, June 26, 2007 20:57 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Tuesday, June 26, 2007 20:57 +0200
commit410c65c22c94384d9afd0741b618c96a97b81ed6
tree f9a0b13211bb8a33d6f34462c9da5d1d174e4a5c tree | zip | gz
parent 2566938d08ffeb1ec50babea418367557de72401 view | diff
Update the way that the password policy import plugin encodes passwords during
an LDIF import. The basic practice is as follows:

- If the entry specifies a particular password policy, then the default
password storage schemes for that policy will be used to encode the password.

- If the entry does not specify a particular password policy, then the server
will use the password scheme(s) specified in the
ds-cfg-default-user-password-storage-scheme or
ds-cfg-default-auth-password-storage-scheme attribute in the plugin
configuration entry, if they are present.

- If the configuration entry does not specify a default set of storage
schemes, but it uses a password attribute that has the same syntax as the
password attribute used by the server's default password policy, then the
default password storage schemes from the server's default password policy
will be used.

- If all else fails, the server will use SSHA for passwords with the user
password syntax, or SHA1 for passwords with the auth password syntax.

OpenDS Issue Number: 849
1 files added
5 files modified
923 ■■■■ changed files
opends/resource/config/config.ldif 3 ●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 11 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyImportPluginConfiguration.xml 119 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/PluginMessages.java 91 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/plugins/PasswordPolicyImportPlugin.java 635 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/PasswordPolicyImportPluginTestCase.java 64 ●●●● diff | view | raw | blame | history