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

neil_a_wilson
12.25.2007 785fcca7ef16dd93aaa3ca22e17a812ab6ac250a
refs
author neil_a_wilson <neil_a_wilson@localhost>
Thursday, July 12, 2007 00:25 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Thursday, July 12, 2007 00:25 +0200
commit785fcca7ef16dd93aaa3ca22e17a812ab6ac250a
tree cf5229f04cd36588186b584ea45d2b8af94c4cae tree | zip | gz
parent cb7c69ea6b7701d5e691a04fce50cef885dc65f3 view | diff
Update the password policy configuration to support a new attribute,
ds-cfg-state-update-failure-policy. This attribute makes it possible to
control how the server should handle failures that may occur when attempting to
update password policy state information during a bind operation. This
attribute allows the following values:

- ignore -- If an otherwise successful bind attempt encounters a failure when trying to update the password policy state information for a user, then log an error message but allow that bind to succeed.

- reactive -- If an otherwise successful bind attempt encounters a failure when trying to update the password policy state information for a user, then cause the bind to fail.

- proactive -- If the server can detect ahead of time that the password policy state update could fail (e.g., if the entire server or target backend is in read-only mode) and it is known that a successful or failed bind attempt would need to update the password policy state information, then reject the bind before any processing is performed. If it gets past this phase and the attempt to update the state information later fails, then it will have the same behavior as the "reactive" policy.

Note that bind attempts by root users will always be treated using the "ignore" policy to ensure that they are not locked out in the event of a significant problem (e.g., disk full).


OpenDS Issue Number: 1810
8 files modified
490 ■■■■■ changed files
opends/resource/config/config.ldif 2 ●●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 9 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyConfiguration.xml 53 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicy.java 24 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicyState.java 23 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/CoreMessages.java 17 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java 76 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java 286 ●●●●● diff | view | raw | blame | history