class LdapServerProperties {

  public String getUserSearchFilter(boolean useAlternateUserSearchFilter) {
    String filter = useAlternateUserSearchFilter ? alternateUserSearchFilter : userSearchFilter;

    return resolveUserSearchFilterPlaceHolders(filter);
  }

}