title: Spring Flux: How to configure multiple WebFilter
body: <p>I'm writing a Spring Web Flux application. I have created two WebFilter Component:</p>
  
  <p><strong>AlphaFilter</strong></p>
  
  <pre><code>class AlphaFilter implement WebFilter {
      public Mono&lt;Void&gt; filter(ServerWebExchange exchange, WebFilterChain chain) {
          // ....
          // Alpha Filter Configurations
          return chain.filter(exchange);
      }
  }
  </code></pre>
  
  <p><strong>AuthenticationFilter</strong></p>
  
  <pre><code>class AuthenticationFilter implement WebFilter {
      public Mono&lt;Void&gt; filter(ServerWebExchange exchange, WebFilterChain chain) {
          // ....
          // Alpha Filter Configurations
          return chain.filter(exchange);
      }
  }
  </code></pre>
  
  <p>I wanted to ensure that <code>AuthenticationFilter</code> runs before <code>AlphaFilter</code>. How to configure the filters so that <code>AuthenticationFilter</code> runs before <code>AlphaFilter</code>?</p>