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

Yannick Lecaillez
13.00.2016 4c0475f46e5cda9d995e792b459825e06fe19557
opendj-server-legacy/src/main/java/org/opends/server/api/HttpEndpoint.java
@@ -22,6 +22,7 @@
import org.forgerock.http.HttpApplication;
import org.forgerock.http.HttpApplicationException;
import org.forgerock.i18n.LocalizableException;
import org.forgerock.i18n.LocalizableMessage;
import org.forgerock.opendj.server.config.server.HTTPEndpointCfg;
import org.opends.server.core.ServerContext;
@@ -76,6 +77,11 @@
    }
    catch (HttpApplicationException e)
    {
      if (e instanceof LocalizableException)
      {
        unacceptableReasons.add(((LocalizableException) e).getMessageObject());
        return false;
      }
      unacceptableReasons.add(ERR_CONFIG_HTTPENDPOINT_INVALID_CONFIGURATION
          .get(configuration.dn(), stackTraceToSingleLineString(e)));
      return false;