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

Nicolas Capponi
04.01.2014 1f5674beec624d5524201b5fbac1aea036996bb5
opendj3-server-dev/src/guitools/org/opends/guitools/uninstaller/ui/LoginDialog.java
@@ -436,13 +436,13 @@
      {
        if (throwable != null)
        {
          logger.debug(LocalizableMessage.raw("Error connecting: " + throwable, throwable));
          logger.info(LocalizableMessage.raw("Error connecting: " + throwable, throwable));
          if (Utils.isCertificateException(throwable))
          {
            ApplicationTrustManager.Cause cause =
              trustManager.getLastRefusedCause();
            logger.debug(LocalizableMessage.raw("Certificate exception cause: "+cause));
            logger.info(LocalizableMessage.raw("Certificate exception cause: "+cause));
            UserDataCertificateException.Type excType = null;
            if (cause == ApplicationTrustManager.Cause.NOT_TRUSTED)
            {
@@ -666,7 +666,7 @@
      if ((chain != null) && (authType != null) && (host != null))
      {
        logger.debug(LocalizableMessage.raw("Accepting certificate presented by host "+host));
        logger.info(LocalizableMessage.raw("Accepting certificate presented by host "+host));
        getTrustManager().acceptCertificate(chain, authType, host);
        /* Simulate a click on the OK by calling in the okClicked method. */
        SwingUtilities.invokeLater(new Runnable()