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

neil_a_wilson
14.49.2006 e58c637452025b69e0502055aa456cfbba1ca795
Update the Directory Server shutdown process to ensure that it properly
invokes the finalizers for the SASL mechanism handlers.

OpenDS Issue Number: 644
1 files modified
15 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/core/DirectoryServer.java 15 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -6793,6 +6793,21 @@
    }
    // Finalize all of the SASL mechanism handlers.
    for (SASLMechanismHandler handler :
         directoryServer.saslMechanismHandlers.values())
    {
      try
      {
        handler.finalizeSASLMechanismHandler();
      }
      catch (Exception e)
      {
        assert debugException(CLASS_NAME, "shutDown", e);
      }
    }
    // Shut down all the other components that may need special handling.
    // NYI