Class GrpcRequest.GrpcReactiveRequestMatcher

java.lang.Object
org.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<org.springframework.grpc.server.service.GrpcServiceDiscoverer>
org.springframework.boot.grpc.server.autoconfigure.security.web.reactive.GrpcRequest.GrpcReactiveRequestMatcher
All Implemented Interfaces:
org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
Enclosing class:
GrpcRequest

public static final class GrpcRequest.GrpcReactiveRequestMatcher extends org.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<org.springframework.grpc.server.service.GrpcServiceDiscoverer>
The matcher used to match against service locations.
Since:
4.1.0
  • Method Details

    • excluding

      public GrpcRequest.GrpcReactiveRequestMatcher excluding(String... services)
      Return a new GrpcRequest.GrpcServletRequestMatcher based on this one but excluding the specified services.
      Parameters:
      services - additional services to exclude
      Returns:
      a new GrpcRequest.GrpcServletRequestMatcher
    • excluding

      Return a new GrpcRequest.GrpcServletRequestMatcher based on this one but excluding the specified services.
      Parameters:
      services - additional service names to exclude
      Returns:
      a new GrpcRequest.GrpcServletRequestMatcher
    • initialized

      protected void initialized(Supplier<org.springframework.grpc.server.service.GrpcServiceDiscoverer> context)
      Overrides:
      initialized in class org.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<org.springframework.grpc.server.service.GrpcServiceDiscoverer>
    • matches

      protected reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult> matches(org.springframework.web.server.ServerWebExchange exchange, Supplier<org.springframework.grpc.server.service.GrpcServiceDiscoverer> context)
      Specified by:
      matches in class org.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<org.springframework.grpc.server.service.GrpcServiceDiscoverer>