Search in sources :

Example 1 with MatchResult

use of org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult in project spring-security by spring-projects.

the class DelegatingServerAuthenticationEntryPoint method isMatch.

private Mono<Boolean> isMatch(ServerWebExchange exchange, DelegateEntry entry) {
    ServerWebExchangeMatcher matcher = entry.getMatcher();
    logger.debug(LogMessage.format("Trying to match using %s", matcher));
    return matcher.matches(exchange).map(MatchResult::isMatch);
}
Also used : ServerWebExchangeMatcher(org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher) MatchResult(org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult)

Aggregations

ServerWebExchangeMatcher (org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher)1 MatchResult (org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult)1