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

neil_a_wilson
18.02.2006 7f708169b7ec9855c2bfe8f69aafa10bce479562
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
opendj-sdk/opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java 13 ●●●●● patch | view | raw | blame | history
opendj-sdk/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