code: public static SearchExecutor newLdaptiveSearchExecutor(final String baseDn, final String filterQuery,
                                                             final List<String> params,
                                                             final List<String> returnAttributes) {
          return newLdaptiveSearchExecutor(baseDn, filterQuery, params, returnAttributes.toArray(ArrayUtils.EMPTY_STRING_ARRAY));
      }
docs: New ldaptive search executor search executor.
  
  @param baseDn           the base dn
  @param filterQuery      the filter query
  @param params           the params
  @param returnAttributes the return attributes
  @return the search executor