Search in sources :

Example 1 with LdapEntryManagerFactory

use of io.jans.orm.ldap.impl.LdapEntryManagerFactory in project jans by JanssenProject.

the class StandaloneCustomScriptManagerTest method createLdapEntryManager.

public static LdapEntryManager createLdapEntryManager() {
    LdapEntryManagerFactory ldapEntryManagerFactory = new LdapEntryManagerFactory();
    Properties connectionProperties = getSampleConnectionProperties();
    LdapEntryManager ldapEntryManager = ldapEntryManagerFactory.createEntryManager(connectionProperties);
    LOG.debug("Created LdapEntryManager: " + ldapEntryManager);
    return ldapEntryManager;
}
Also used : LdapEntryManager(io.jans.orm.ldap.impl.LdapEntryManager) Properties(java.util.Properties) LdapEntryManagerFactory(io.jans.orm.ldap.impl.LdapEntryManagerFactory)

Example 2 with LdapEntryManagerFactory

use of io.jans.orm.ldap.impl.LdapEntryManagerFactory in project jans by JanssenProject.

the class LdapEntryManagerSample method createLdapEntryManager.

public LdapEntryManager createLdapEntryManager() {
    LdapEntryManagerFactory ldapEntryManagerFactory = new LdapEntryManagerFactory();
    Properties connectionProperties = getSampleConnectionProperties();
    LdapEntryManager ldapEntryManager = ldapEntryManagerFactory.createEntryManager(connectionProperties);
    LOG.debug("Created LdapEntryManager: " + ldapEntryManager);
    return ldapEntryManager;
}
Also used : LdapEntryManager(io.jans.orm.ldap.impl.LdapEntryManager) Properties(java.util.Properties) LdapEntryManagerFactory(io.jans.orm.ldap.impl.LdapEntryManagerFactory)

Aggregations

LdapEntryManager (io.jans.orm.ldap.impl.LdapEntryManager)2 LdapEntryManagerFactory (io.jans.orm.ldap.impl.LdapEntryManagerFactory)2 Properties (java.util.Properties)2