use of org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcherEntry in project spring-security by spring-projects.
the class DelegatingReactiveAuthorizationManagerTests method setup.
@BeforeEach
public void setup() {
MockitoAnnotations.initMocks(this);
this.manager = DelegatingReactiveAuthorizationManager.builder().add(new ServerWebExchangeMatcherEntry<>(this.match1, this.delegate1)).add(new ServerWebExchangeMatcherEntry<>(this.match2, this.delegate2)).build();
MockServerHttpRequest request = MockServerHttpRequest.get("/test").build();
this.exchange = MockServerWebExchange.from(request);
}
Aggregations