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

Matthew Swift
26.38.2011 f11baa48675eda7a3c4de818c57c50f116676c3f
opends/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyFactory.java
@@ -214,7 +214,8 @@
        // The associated server is unavailable, so close the connection and
        // try the next connection factory.
        connection.close();
        factory.isAvailable = false;
        factory.lastException = e;
        factory.isAvailable = false; // publishes lastException
        while (nextIndex != startIndex)
        {
@@ -309,7 +310,7 @@
            TRACER.debugCaught(DebugLogLevel.ERROR, e);
          }
          lastException = e;
          isAvailable = false; // publish lastException
          isAvailable = false; // publishes lastException
          throw e;
        }
      }