Interface SecurityWebFilterChain
- All Known Implementing Classes:
MatcherSecurityWebFilterChain
public interface SecurityWebFilterChain
Defines a filter chain which is capable of being matched against a
ServerWebExchange
in order to decide whether it applies to that request.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<org.springframework.web.server.WebFilter>
TheWebFilter
to usereactor.core.publisher.Mono<Boolean>
matches
(org.springframework.web.server.ServerWebExchange exchange) Determines if thisSecurityWebFilterChain
matches the providedServerWebExchange
-
Method Details
-
matches
reactor.core.publisher.Mono<Boolean> matches(org.springframework.web.server.ServerWebExchange exchange) Determines if thisSecurityWebFilterChain
matches the providedServerWebExchange
- Parameters:
exchange
- theServerWebExchange
- Returns:
- true if it matches, else false
-
getWebFilters
reactor.core.publisher.Flux<org.springframework.web.server.WebFilter> getWebFilters()TheWebFilter
to use- Returns:
-