exchangeMatchers

fun exchangeMatchers(vararg pathPatterns: String)

Specify the matching path patterns for determining when CSP should be applied. The default is to enable CSP in every response if ServerHeadersDsl.contentSecurityPolicy is configured.

Since

7.2

Parameters

pathPatterns

the path patterns to be matched with a org.springframework.security.web.server.util.matcher.PathPatternParserServerWebExchangeMatcher

See also