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);
}
Aggregations