Added a simple factory for the creation of the LdapConfigRepository