LDAPProvider refactoring