From 8aa9e3c4288898f16445e768320b6dad1de612e1 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 25 Mar 2009 21:26:49 +0000
Subject: [PATCH] These changes:
---
opends/src/ads/org/opends/admin/ads/util/ApplicationKeyManager.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/opends/src/ads/org/opends/admin/ads/util/ApplicationKeyManager.java b/opends/src/ads/org/opends/admin/ads/util/ApplicationKeyManager.java
index d121e66..222c72b 100644
--- a/opends/src/ads/org/opends/admin/ads/util/ApplicationKeyManager.java
+++ b/opends/src/ads/org/opends/admin/ads/util/ApplicationKeyManager.java
@@ -44,6 +44,8 @@
import javax.net.ssl.TrustManagerFactory;
import javax.net.ssl.X509KeyManager;
+import org.opends.server.util.Platform;
+
/**
* This class is in charge of checking whether the certificates that are
@@ -80,6 +82,13 @@
String userSpecifiedProvider =
System.getProperty("org.opends.admin.keymanagerprovider");
+ //Handle IBM specific cases if the user did not specify a algorithm and/or
+ //provider.
+ if(userSpecifiedAlgo == null && Platform.isVendor("IBM"))
+ userSpecifiedAlgo = "IbmX509";
+ if(userSpecifiedProvider == null && Platform.isVendor("IBM"))
+ userSpecifiedProvider = "IBMJSEE2";
+
// Have some fallbacks to choose the provider and algorith of the key
// manager. First see if the user wanted to use something specific,
// then try with the SunJSSE provider and SunX509 algorithm. Finally,
--
Gitblit v1.10.0