class AmbariLdapFacade implements LdapFacade {

  @Override
  public void checkConnection(AmbariLdapConfiguration ambariLdapConfiguration) throws AmbariLdapException {
    try {

      ldapConfigurationService.checkConnection(ambariLdapConfiguration);
      LOGGER.info("Validating LDAP connection related configuration: SUCCESS");

    } catch (Exception e) {

      LOGGER.error("Validating LDAP connection configuration failed", e);
      throw new AmbariLdapException(e);

    }

  }

  @Inject public  AmbariLdapFacade();

}