docs: public <T> List<T> search(Class<T> managedClass, Name base, String filter, SearchControls scope) {
          Filter searchFilter = null;
          if(StringUtils.hasText(filter)) {
              searchFilter = new HardcodedFilter(filter);
          }
  
          return ldapTemplate.find(base, searchFilter, scope, managedClass);
      }