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

jvergara
08.43.2007 43e9c7913fc664b725e167090fe6d389a4558315
opends/src/quicksetup/org/opends/quicksetup/Application.java
@@ -27,6 +27,7 @@
package org.opends.quicksetup;
import org.opends.admin.ads.util.ApplicationTrustManager;
import org.opends.quicksetup.event.ProgressNotifier;
import org.opends.quicksetup.event.ProgressUpdateListener;
import org.opends.quicksetup.event.ProgressUpdateEvent;
@@ -64,6 +65,8 @@
  private ServerController serverController;
  private ApplicationTrustManager trustManager;
  /** Formats progress messages. */
  protected ProgressMessageFormatter formatter;
@@ -526,6 +529,21 @@
  abstract public boolean isFinished();
  /**
   * Returns the trust manager that can be used to establish secure connections.
   * @return the trust manager that can be used to establish secure connections.
   */
  protected ApplicationTrustManager getTrustManager()
  {
    if (trustManager == null)
    {
      trustManager = new ApplicationTrustManager();
    }
    return trustManager;
  }
  /**
   * Indicates whether or not this application is capable of cancelling
   * the operation performed in the run method.  A cancellable operation
   * should leave its environment in the same state as it was prior to