Class WebFilterChainProxy

java.lang.Object
org.springframework.security.web.server.WebFilterChainProxy
All Implemented Interfaces:
org.springframework.web.server.WebFilter

public class WebFilterChainProxy extends Object implements org.springframework.web.server.WebFilter
Used to delegate to a List of SecurityWebFilterChain instances.
Since:
5.0
  • Constructor Details

  • Method Details

    • filter

      public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
      Specified by:
      filter in interface org.springframework.web.server.WebFilter
    • setFilterChainDecorator

      public void setFilterChainDecorator(WebFilterChainProxy.WebFilterChainDecorator filterChainDecorator)
      Used to decorate the original FilterChain for each request

      By default, this decorates the filter chain with a DefaultWebFilterChain that iterates through security filters and then delegates to the original chain

      Parameters:
      filterChainDecorator - the strategy for constructing the filter chain
      Since:
      6.0