LdapFactory::create()

create(ContainerBuilder $container, $id, $config) Parameters ContainerBuilder $container $id $config

LdapFactory::addConfiguration()

addConfiguration(NodeDefinition $node) Parameters NodeDefinition $node

LdapFactory

class LdapFactory implements UserProviderFactoryInterface LdapFactory creates services for Ldap user provider. Methods create(ContainerBuilder $container, $id, $config) getKey() addConfiguration(NodeDefinition $node) Details create(ContainerBuilder $container, $id, $config) Parameters ContainerBuilder $container $id $config getKey() addConfiguration(Node

LdapException

class LdapException extends RuntimeException implements ExceptionInterface LdapException is throw if php ldap module is not loaded.

LdapClientInterface deprecated

interface LdapClientInterface implements LdapInterface deprecated You should use LdapInterface instead Ldap interface. This interface is used for the BC layer with branch 2.8 and 3.0. Methods bind(string $dn = null, string $password = null) Return a connection bound to the ldap. from LdapInterface QueryInterface query(string $dn, string $query, array $options = array()) Queries a ldap server for entries matching the given criteria. from LdapInterface EntryManagerInterface get

LdapClient deprecated::query()

QueryInterface query(string $dn, string $query, array $options = array()) Queries a ldap server for entries matching the given criteria. Parameters string $dn string $query array $options Return Value QueryInterface

LdapClient deprecated::getEntryManager()

EntryManagerInterface getEntryManager() Return Value EntryManagerInterface

LdapClient deprecated::find()

array|null find(string $dn, string $query, mixed $filter = '*') Find a username into ldap connection. Parameters string $dn string $query mixed $filter Return Value array|null

LdapClient deprecated::escape()

string escape(string $subject, string $ignore = '', int $flags) Escape a string for use in an LDAP filter or DN. Parameters string $subject string $ignore int $flags Return Value string

LdapClient deprecated::bind()

bind(string $dn = null, string $password = null) Return a connection bound to the ldap. Parameters string $dn A LDAP dn string $password A password Exceptions ConnectionException If dn / password could not be bound.