if (sslContext != null) {
log.debug(
"{} is using a Nexus SSL Trust Store for accessing {}",
key, ldapServer.getConnectionInfo().getHost()
);
return new SSLLdapContextFactory(sslContext, ldapContextFactory);
}
}
log.debug(
"{} is using a JVM Trust Store for accessing {}",
key, ldapServer.getConnectionInfo().getHost()