@Override
  public boolean isPasswordPolicyEnabled(long companyId) {
    LDAPConfiguration ldapConfiguration =
        _ldapConfigurationSettingsUtil.getLDAPConfiguration(companyId);

    return ldapConfiguration.passwordPolicyEnabled();
  }
  @Override
  public boolean isExportGroupEnabled(long companyId) {
    LDAPConfiguration ldapConfiguration =
        _ldapConfigurationSettingsUtil.getLDAPConfiguration(companyId);

    return ldapConfiguration.exportGroupEnabled();
  }
  @Override
  public boolean isImportOnStartup(long companyId) {
    LDAPConfiguration ldapConfiguration =
        _ldapConfigurationSettingsUtil.getLDAPConfiguration(companyId);

    return ldapConfiguration.importOnStartup();
  }
  @Override
  public boolean isExportEnabled(long companyId) {
    LDAPConfiguration ldapConfiguration =
        _ldapConfigurationSettingsUtil.getLDAPConfiguration(companyId);

    boolean defaultImportUserPasswordAutogenerated =
        ldapConfiguration.importUserPasswordAutogenerated();

    if (isImportEnabled(companyId) && defaultImportUserPasswordAutogenerated) {

      return false;
    }

    return ldapConfiguration.exportEnabled();
  }