Abstracting ldap settings into a bean