The ldap user provider, using the LdapUserProvider class. against an LDAP server while fetching user information from another source (database configured using the built-in LDAP PHP extension with the following service definition: . and the {username} string will be replaced by the username you are trying to load..