[#LIB-155] Refactor configuration | NamingException encapsulated in LdapConfig