Closed matracine closed 8 years ago
Just had an idea, 'useDN' can be the name of the method to use to retreive the dn ('useDN' =>'getAuthName'). So no hard dependency is introduced between LdapUser and the authentication provider.
Hu ? I don't understand why you merged my pull request. Your solution was a lot better...
I propose to add an option 'useDN' to ldapAuthenticationProvider, so there is no BC break. If useDN is set to true, attribute dn has to be retrieved by ldapUserProvider.