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

dugan
25.26.2009 2565e82de20c71e49638671b6e8266bdab34c5fa
opendj-sdk/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,