made LdapBackendAdapter object oriented