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

lutoff
15.06.2007 dba093e971f1dd1e52cb524ab831c8fe98844f2e
opendj-sdk/opends/src/ads/org/opends/admin/ads/util/ApplicationTrustManager.java
@@ -94,8 +94,9 @@
  /**
   * The default constructor.
   * @param keystore The keystore to use for this trustmanager.
   */
  public ApplicationTrustManager()
  public ApplicationTrustManager(KeyStore keystore)
  {
    TrustManagerFactory tmf = null;
    String algo = "SunX509";
@@ -103,7 +104,7 @@
    try
    {
      tmf = TrustManagerFactory.getInstance(algo, provider);
      tmf.init((KeyStore)null);
      tmf.init(keystore);
      sunJSSEX509TrustManager =
        (X509TrustManager)(tmf.getTrustManagers())[0];
    }
@@ -294,7 +295,7 @@
   */
  public ApplicationTrustManager createCopy()
  {
    ApplicationTrustManager copy = new ApplicationTrustManager();
    ApplicationTrustManager copy = new ApplicationTrustManager(null);
    copy.lastRefusedAuthType = lastRefusedAuthType;
    copy.lastRefusedChain = lastRefusedChain;
    copy.lastRefusedCause = lastRefusedCause;