sslContext.init(null, _trustStore.getTrustManagers(), null);
}
catch (NoSuchAlgorithmException e)
{
_logger.error("Exception creating SSLContext", e);
throw new ServerScopedRuntimeException("Error creating SSLContext for trust store : " + _trustStore.getName() , e);
}
catch (KeyManagementException e)
{
_logger.error("Exception creating SSLContext", e);
throw new ServerScopedRuntimeException("Error creating SSLContext for trust store : " + _trustStore.getName() , e);
}
catch (GeneralSecurityException e)
{
_logger.error("Exception creating SSLContext", e);
throw new ServerScopedRuntimeException("Error creating SSLContext for trust store : " + _trustStore.getName() , e);
}
Class<? extends AbstractLDAPSSLSocketFactory> clazz = LDAPSSLSocketFactoryGenerator.createSubClass(clazzName, sslContext.getSocketFactory());
if (_logger.isDebugEnabled())
{