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

neil_a_wilson
18.02.2006 f836c5f523586b8632077b571384a7b57423defd
Add a finalizeSASLMechanismHandler method to the SASL ANONYMOUS handler to
ensure that the mechanism gets deregistered from the server when it is
finalized.

OpenDS Issue Number: 671
1 files modified
13 ■■■■■ changed files
opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java 13 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java
@@ -111,6 +111,19 @@
  /**
   * Performs any finalization that may be necessary for this SASL mechanism
   * handler.
   */
  public void finalizeSASLMechanismHandler()
  {
    assert debugEnter(CLASS_NAME, "finalizeSASLMechanismHandler");
    DirectoryServer.deregisterSASLMechanismHandler(SASL_MECHANISM_ANONYMOUS);
  }
  /**
   * Processes the provided SASL bind operation.  Note that if the SASL