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

neil_a_wilson
10.08.2007 52a0b67120c9a107969b39afe7f37f2b000d9f32
refs
author neil_a_wilson <neil_a_wilson@localhost>
Monday, September 10, 2007 01:08 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Monday, September 10, 2007 01:08 +0200
commit52a0b67120c9a107969b39afe7f37f2b000d9f32
tree 7495cfec9833d816bc30001ab7dae30abacb0a6a tree | zip | gz
parent fbe83410829a01a58ee9ffb68b5f13086fdecee1 view | diff
Update the server to provide a basic framework for controlling when plugins
will be invoked. There are two basic changes:

- Add a new ds-cfg-invoke-for-internal-operations configuration attribute for
all plugins, which indicates whether the plugin should be invoked for
internal operations. If this is false, then the plugin will only be invoked
for externally-requested operations.

- Add four new plugin types: postSynchronizationAdd,
postSynchronizationDelete, postSynchronizationModify, and
postSynchronizationModifyDN. These allow a plugin to perform a limited set
of processing for changes that are successfully applied through
synchronization.


The unique attribute plugin has also been updated to support the
post-synchronization plugin types so that if a conflict is introduced
concurrently on two different servers within the propagation delay, an
administrative alert will be generated to indicate that manual intervention is
required to address the problem.

Finally, ensure that audit logging is enabled during the unit tests, and
update the audit logger to include the connection ID and operation ID for the
operation being logged.


OpenDS Issue Number: 2057
5 files added
20 files modified
3277 ■■■■ changed files
opendj-sdk/opends/resource/config/config.ldif 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/schema/02-config.ldif 27 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/PluginConfiguration.xml 54 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/PluginRootConfiguration.xml 117 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/UniqueAttributePluginConfiguration.xml 3 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/plugin.properties 16 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java 139 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/api/plugin/PluginType.java 90 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/PluginConfigManager.java 606 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/loggers/TextAuditLogPublisher.java 16 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java 1137 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/operation/PostSynchronizationAddOperation.java 136 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/operation/PostSynchronizationDeleteOperation.java 78 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/operation/PostSynchronizationModifyDNOperation.java 189 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/operation/PostSynchronizationModifyOperation.java 148 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/operation/PostSynchronizationOperation.java 144 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java 44 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendAddOperation.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendDeleteOperation.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendModifyDNOperation.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendModifyOperation.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java 44 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif 20 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java 176 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/InvocationCounterPlugin.java 66 ●●●●● diff | view | raw | blame | history