use of org.gluu.persist.ldap.impl.LdapEntryManagerFactory in project oxTrust by GluuFederation.
the class Configuration method createLdapEntryManager.
private LdapEntryManager createLdapEntryManager() {
Properties connectionProperties = (Properties) this.ldapConfiguration.getProperties();
Properties decryptedConnectionProperties = PropertiesDecrypter.decryptProperties(connectionProperties, this.cryptoConfigurationSalt);
LdapEntryManagerFactory ldapEntryManagerFactory = new LdapEntryManagerFactory();
LdapEntryManager ldapEntryManager = ldapEntryManagerFactory.createEntryManager(decryptedConnectionProperties);
logger.debug("Created LdapEntryManager: {}", ldapEntryManager);
return ldapEntryManager;
}
use of org.gluu.persist.ldap.impl.LdapEntryManagerFactory in project oxCore by GluuFederation.
the class LdapSampleEntryManager method createLdapEntryManager.
public LdapEntryManager createLdapEntryManager() {
LdapEntryManagerFactory ldapEntryManagerFactory = new LdapEntryManagerFactory();
Properties connectionProperties = getSampleConnectionProperties();
LdapEntryManager ldapEntryManager = ldapEntryManagerFactory.createEntryManager(connectionProperties);
LOG.debug("Created LdapEntryManager: " + ldapEntryManager);
return ldapEntryManager;
}
Aggregations