private AmbariLdapConfiguration getConfiguration() {
    return configurationProvider.get();
  }
LdapTemplate factory method.

@param ldapContextSource the LDAP context source
@return new LDAP template
ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java