Extract an interface for the ldapuser
Update provider to use the interface instead of the implementation
Add configuration option to provide the user model

in config.yml. Defaults to the internal user model.
Instantiate a user from the provided model in LdapUserProvider
Fix the inheritance chain of the LdapUserInterface

so that implementations only need to implement this interface.
Add documentation to explain the use of a custom user manager

like added in PR #69 [1].

[1] https://github.com/BorisMorel/LdapBundle/pull/69
Update configuration example

with the changes provided by PR #69 [1].

[1] https://github.com/BorisMorel/LdapBundle/pull/69
Update documentation.

The encoder for the custom user entity needs to be set in security.yml.