XWIKI-10219: Move LDAP authenticator to its own module
* refactor legacy LDAP