class AmbariLdapDataPopulator {

  protected boolean isMemberAttributeBaseDn(String memberAttributeValue) {
    LdapServerProperties ldapServerProperties = getLdapProperties();
    Pattern pattern = Pattern.compile(String.format(IS_MEMBER_DN_REGEXP,
        ldapServerProperties.getUsernameAttribute(), ldapServerProperties.getGroupNamingAttr()));
    return pattern.matcher(memberAttributeValue).find();
  }

  @Inject public  AmbariLdapDataPopulator(Provider<AmbariLdapConfiguration> configurationProvider, Users users);

}