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

neil_a_wilson
26.35.2007 dfdd9440011d222f12e6e336ed6ab6e59ee2be4b
refs
author neil_a_wilson <neil_a_wilson@localhost>
Sunday, August 26, 2007 22:35 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Sunday, August 26, 2007 22:35 +0200
commitdfdd9440011d222f12e6e336ed6ab6e59ee2be4b
tree 740d817071e4f8866d92e97c248b85f535820ed7 tree | zip | gz
parent 9603069083bab9b05a47c485761bcbc9256a5c8b view | diff
Make a change to the account status notification handler API so that it is
possible to provide additional properties along with the notification. This
makes it possible to develop account status notification handlers that can act
more intelligently and/or provide more useful information.

This also reverts an earlier change that migrated hard-coded strings to
localizeable messages for notification types. The set of notification types
should in fact be hard-coded strings because they may be used in the
configuration, and the contents of a configuration file should not depend on
the locale in which the server is operating.
2 files added
7 files modified
1028 ■■■■ changed files
opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java 31 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicyState.java 36 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/ErrorLogAccountStatusNotificationHandler.java 26 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/AccountStatusNotification.java 202 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/AccountStatusNotificationProperty.java 235 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/AccountStatusNotificationType.java 134 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java 121 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/ErrorLogAccountStatusNotificationHandlerTestCase.java 91 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/TestAccountStatusNotificationHandler.java 152 ●●●●● diff | view | raw | blame | history