From c33515440f66eca1bc34dffbbc399cc9202aa2fc Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Thu, 13 Sep 2007 13:55:51 +0000
Subject: [PATCH] Rename OpendsCerticationException into OpendsCertificateException (naming coherent with java.security.cert.CertificateException)

---
 opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java b/opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java
index 624bf65..9832afa 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java
@@ -27,7 +27,7 @@
 package org.opends.server.tools.dsconfig;
 
 import org.opends.admin.ads.util.ConnectionUtils;
-import org.opends.admin.ads.util.OpendsCertificationException;
+import org.opends.admin.ads.util.OpendsCertificateException;
 
 import static org.opends.messages.DSConfigMessages.*;
 import org.opends.messages.Message;
@@ -118,10 +118,10 @@
             {
               if ((e.getRootCause() != null)
                   && (e.getRootCause().getCause()
-                      instanceof OpendsCertificationException))
+                      instanceof OpendsCertificateException))
               {
-                OpendsCertificationException oce =
-                  (OpendsCertificationException) e.getRootCause().getCause();
+                OpendsCertificateException oce =
+                  (OpendsCertificateException) e.getRootCause().getCause();
                   if (ci.checkServerCertificate(oce.getChain()))
                   {
                     // If the certificate is trusted, update the trust manager.
@@ -166,10 +166,10 @@
             {
               if ((e.getRootCause() != null)
                   && (e.getRootCause().getCause()
-                      instanceof OpendsCertificationException))
+                      instanceof OpendsCertificateException))
               {
-                OpendsCertificationException oce =
-                  (OpendsCertificationException) e.getRootCause().getCause();
+                OpendsCertificateException oce =
+                  (OpendsCertificateException) e.getRootCause().getCause();
                   if (ci.checkServerCertificate(oce.getChain()))
                   {
                     // If the certificate is trusted, update the trust manager.

--
Gitblit v1.10.0