String sslCC_class = params.get(SSL_CONTAINER_CLASS_KEY);
if (sslCC_class == null) {
sslCC_class = SSL_CONTAINER_CLASS_VAL;
}
try {
SSLContextContainerIfc sslCC =
(SSLContextContainerIfc)Class.forName(sslCC_class).newInstance();
sslCC.init(params);
sslContexts.put(id, sslCC);
} catch (Exception e) {
log.log(Level.SEVERE, "Can not initialize SSL Container: " + sslCC_class, e);
}
}