Refactored the ldapConfigRepository in order to set a basic method for needed paramenters and another for the additional parameters