title: How to pass parameters to FeignRequestInterceptor?
body: <p>I've got this code</p>
  
  <pre><code>@Component()
  public class FeignRequestInterceptor {
  
      @Bean
      public RequestInterceptor basicAuthRequestInterceptor() {
          return new BasicAuthRequestInterceptor("username", "password");
      }
  }
  </code></pre>
  
  <p>Is there a way I can pass username and password as parameter?</p>
  
  <p>I've got a filter that intercepts a request, there I get some headers, and I want to use those headers to set the <code>user</code> and <code>password</code> so when I use the feign client later for another request, I've got those headers</p>