class LdapUserProvider implements UserProviderInterface
LdapUserProvider is a simple user provider on top of ldap.
Methods
__construct(LdapInterface $ldap, string $baseDn, string $searchDn = null, string $searchPassword = null, array $defaultRoles = array(), string $uidKey = 'sAMAccountName', string $filter = '({uid_key}={username})', string $passwordAttribute = null)
UserInterface loadUserByUsername(string $username) Loads the user for the given username.
UserInterface refres