From 39db72786ec179e67e3c1c0c71a2e93672999ea5 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 03 Dec 2009 18:04:49 +0000
Subject: [PATCH] Split SDK from server code and add build/packaging infrastructure.

---
 sdk/src/org/opends/sdk/tools/TrustStoreTrustManager.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sdk/src/org/opends/sdk/util/ssl/TrustStoreTrustManager.java b/sdk/src/org/opends/sdk/tools/TrustStoreTrustManager.java
similarity index 96%
rename from sdk/src/org/opends/sdk/util/ssl/TrustStoreTrustManager.java
rename to sdk/src/org/opends/sdk/tools/TrustStoreTrustManager.java
index 9b3ad5b..cf137ad 100644
--- a/sdk/src/org/opends/sdk/util/ssl/TrustStoreTrustManager.java
+++ b/sdk/src/org/opends/sdk/tools/TrustStoreTrustManager.java
@@ -26,7 +26,7 @@
  *      Portions Copyright 2009 Parametric Technology Corporation (PTC)
  */
 
-package org.opends.sdk.util.ssl;
+package org.opends.sdk.tools;
 
 
 
@@ -64,7 +64,7 @@
  * retrieved this class will only accept the certificates explicitly
  * accepted by the user (and specified by calling acceptCertificate).
  */
-public class TrustStoreTrustManager implements X509TrustManager
+class TrustStoreTrustManager implements X509TrustManager
 {
   static private final Logger LOG = Logger
       .getLogger(TrustStoreTrustManager.class.getName());
@@ -79,14 +79,12 @@
 
   private final String hostname;
 
-  private final boolean checkValidityDates;
-
 
 
   /**
    * The default constructor.
    */
-  public TrustStoreTrustManager(String truststorePath,
+  TrustStoreTrustManager(String truststorePath,
       String truststorePassword, String hostname,
       boolean checkValidityDates) throws KeyStoreException,
       IOException, NoSuchAlgorithmException, CertificateException
@@ -124,7 +122,7 @@
     }
     this.trustManager = x509tm;
     this.hostname = hostname;
-    this.checkValidityDates = checkValidityDates;
+    // this.checkValidityDates = checkValidityDates;
   }
 
 

--
Gitblit v1.10.0