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/ads/org/opends/admin/ads/util/ApplicationTrustManager.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/opends/src/ads/org/opends/admin/ads/util/ApplicationTrustManager.java b/opends/src/ads/org/opends/admin/ads/util/ApplicationTrustManager.java
index 5b35b98..6e0ef96 100644
--- a/opends/src/ads/org/opends/admin/ads/util/ApplicationTrustManager.java
+++ b/opends/src/ads/org/opends/admin/ads/util/ApplicationTrustManager.java
@@ -163,7 +163,7 @@
lastRefusedChain = chain;
lastRefusedAuthType = authType;
lastRefusedCause = Cause.NOT_TRUSTED;
- OpendsCertificationException e = new OpendsCertificationException(
+ OpendsCertificateException e = new OpendsCertificateException(
chain);
e.initCause(ce);
throw e;
@@ -180,7 +180,7 @@
lastRefusedChain = chain;
lastRefusedAuthType = authType;
lastRefusedCause = Cause.HOST_NAME_MISMATCH;
- OpendsCertificationException e = new OpendsCertificationException(
+ OpendsCertificateException e = new OpendsCertificateException(
chain);
e.initCause(ce);
throw e;
@@ -220,7 +220,7 @@
lastRefusedChain = chain;
lastRefusedAuthType = authType;
lastRefusedCause = Cause.NOT_TRUSTED;
- OpendsCertificationException e = new OpendsCertificationException(chain);
+ OpendsCertificateException e = new OpendsCertificateException(chain);
e.initCause(ce);
throw e;
}
@@ -236,7 +236,7 @@
lastRefusedChain = chain;
lastRefusedAuthType = authType;
lastRefusedCause = Cause.HOST_NAME_MISMATCH;
- OpendsCertificationException e = new OpendsCertificationException(
+ OpendsCertificateException e = new OpendsCertificateException(
chain);
e.initCause(ce);
throw e;
@@ -345,7 +345,7 @@
}
if (!found)
{
- throw new OpendsCertificationException(
+ throw new OpendsCertificateException(
"Certificate not in list of accepted certificates", chain);
}
}
@@ -379,7 +379,7 @@
if (!matches)
{
- throw new OpendsCertificationException(
+ throw new OpendsCertificateException(
"Hostname mismatch between host name " + host
+ " and subject DN: " + chain[0].getSubjectX500Principal(),
chain);
--
Gitblit v1.10.0