Creates a connection to an existing LDAP server instance.
Creates a connection to an existing LDAP server instance.
LDAPConnection object
Creates an LDAP in-memory server for testing.
Creates an LDAP in-memory server for testing. Builds user permissions and roles from PermissionCache and RoleCache. Feed users from user database into server.
dummy server
Creates a connection to an existing LDAP server instance.
Creates a connection to an existing LDAP server instance. We use ConnectionPools for better performance. Uses the options defined in the configuation. Used options from configuration are ldap.encryption, ldap.host, ldap.prt, ldap.bindDN, ldap.bindPassword
custom bindDn
custom bind password
LDAPConnection object with specified credentials. None, if no connection could be established.