title: How to create a global filter in able to support @JsonFilter annotated POJO
body: <p>i'm facing a problem during creating a simple filter using <code>SimpleFilterProvider</code> </p>
  
  <pre><code>Can not resolve PropertyFilter with id 'customerFilter'; no FilterProvider configured
  </code></pre>
  
  <p>My code is :</p>
  
  <pre><code>SimpleFilterProvider simpleFilterProvider = new SimpleFilterProvider().setFailOnUnknownId(false);
  FilterProvider filters =simpleFilterProvider.addFilter("customerFilter", SimpleBeanPropertyFilter.serializeAllExcept(ignorableFieldNames)); 
  ObjectWriter writer=null;
  ObjectMapper mapper = new ObjectMapper();
  mapper.setFilterProvider(filters);
  writer=mapper.writer();
  String dtoAsString = writer.writeValueAsString(customer);
  </code></pre>
  
  <p>My POJO is <strong>Customer</strong></p>
  
  <pre><code>import java.util.ArrayList;
  import java.util.List;
  
  import com.fasterxml.jackson.annotation.JsonFilter;
  import com.fasterxml.jackson.annotation.JsonInclude;
  import com.fasterxml.jackson.annotation.JsonProperty;
  import com.fasterxml.jackson.annotation.JsonPropertyDescription;
  @JsonInclude(JsonInclude.Include.NON_NULL)
  @JsonFilter("customerFilter") 
  public class Customer {
  
      public Customer() {
  
      }
  
      public Customer(String customerId,String phoneNumber) {
  
          this.customerId=customerId;
          this.phoneNumber=phoneNumber;
      }
  
      /**
       * customer identifier
       */
      @JsonPropertyDescription("customer identifier")
      @JsonProperty("customerId")
      private String customerId;
  
      /**
       * customer phone number
       */
      @JsonPropertyDescription("customer phone number")
      @JsonProperty("phoneNumber")
      private String phoneNumber;
  ....
  </code></pre>
  
  <p>Any help please considering that my app is an SpringBoot app !</p>