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

neil_a_wilson
23.31.2007 0e8ee12a886660ff23c27eb97199ad97ce94df80
refs
author neil_a_wilson <neil_a_wilson@localhost>
Saturday, June 23, 2007 23:31 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Saturday, June 23, 2007 23:31 +0200
commit0e8ee12a886660ff23c27eb97199ad97ce94df80
tree c958141492c6ab83021f4829030f65464b66a003 tree | zip | gz
parent 905fe0fc8dfb4a79d75896db210abefe3da3e87a view | diff
Provide a way to control the order in which plugins are invoked.  This
implementation is similar to that used by DSEE 6. The "cn=Plugins,cn=config"
configuration entry now supports a number of new configuration attributes
(one per plugin type) that can be used to control the invocation order for
plugins of that type. The plugin order specification should be a string that
is a comma-delimited list of the names of the plugins in the order in which
they should be invoked, and it should also include an asterisk to indicate
the order in which any unmatched plugins should be invoked.

For example:

ds-cfg-plugin-order-pre-operation-add: Entry UUID, *

This indicates that the "Entry UUID" plugin should be invoked before any other
pre-operation add plugins.

The plugin order is evaluated only at startup, and any problems or
inconsistencies detected (e.g., the same plugin name listed twice in the order,
or a plugin order that does not contain a wildcard character) will generate
warning messages in the server's error log.

OpenDS Issue Number: 253
5 files modified
2 files added
2703 ■■■■■ changed files
opends/resource/config/config.ldif 1 ●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 216 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PluginRootConfiguration.xml 1322 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/RootConfiguration.xml 10 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PluginConfigManager.java 434 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/ConfigMessages.java 61 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/PluginConfigManagerTestCase.java 659 ●●●●● diff | view | raw | blame | history