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

neil_a_wilson
26.57.2007 beedc2b804801ea5afef2c9fecb17bd558cc89df
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
commitbeedc2b804801ea5afef2c9fecb17bd558cc89df
tree 2ab619e84ef52b773706f5497ea981ecd5e343d4 tree | zip | gz
parent d31462bb1ab65a38f01327e358e0442432497fbb 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
opendj-sdk/opends/resource/config/config.ldif 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/schema/02-config.ldif 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyImportPluginConfiguration.xml 119 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/PluginMessages.java 91 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/plugins/PasswordPolicyImportPlugin.java 635 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/PasswordPolicyImportPluginTestCase.java 64 ●●●● diff | view | raw | blame | history