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

Matthew Swift
25.07.2011 ad9dfae6c925d30c213a080f795f020087dce509
Fix OPENDJ-339: Don't register alert handler in unique attribute plugin until we are sure that the configuration is valid
1 files modified
2 ■■■ changed files
opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java
@@ -141,7 +141,6 @@
  {
    configuration.addUniqueAttributeChangeListener(this);
    currentConfiguration = configuration;
    DirectoryServer.registerAlertGenerator(this);
    for (PluginType t : pluginTypes)
    {
@@ -189,6 +188,7 @@
    }
    uniqueAttrValue2Dn  = new ConcurrentHashMap<AttributeValue,DN>();
    DirectoryServer.registerAlertGenerator(this);
  }