Class GrpcReactiveRequest.GrpcReactiveRequestMatcher
java.lang.Object
org.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<GrpcServiceDiscoverer>
org.springframework.boot.grpc.server.autoconfigure.security.GrpcReactiveRequest.GrpcReactiveRequestMatcher
- All Implemented Interfaces:
org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
- Enclosing class:
GrpcReactiveRequest
public static final class GrpcReactiveRequest.GrpcReactiveRequestMatcher
extends org.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<GrpcServiceDiscoverer>
The request matcher used to match against resource locations.
- Since:
- 1.0.0
- Author:
- Dave Syer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult -
Method Summary
Modifier and TypeMethodDescriptionReturn a newGrpcServletRequest.GrpcServletRequestMatcherbased on this one but excluding the specified services.Return a newGrpcServletRequest.GrpcServletRequestMatcherbased on this one but excluding the specified services.protected voidinitialized(Supplier<GrpcServiceDiscoverer> context) protected reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult> matches(org.springframework.web.server.ServerWebExchange exchange, Supplier<GrpcServiceDiscoverer> context) Methods inherited from class org.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher
getContext, getServerNamespace, hasServerNamespace, ignoreApplicationContext, matches
-
Method Details
-
excluding
Return a newGrpcServletRequest.GrpcServletRequestMatcherbased on this one but excluding the specified services.- Parameters:
rest- additional services to exclude- Returns:
- a new
GrpcServletRequest.GrpcServletRequestMatcher
-
excluding
Return a newGrpcServletRequest.GrpcServletRequestMatcherbased on this one but excluding the specified services.- Parameters:
exclusions- additional service names to exclude- Returns:
- a new
GrpcServletRequest.GrpcServletRequestMatcher
-
initialized
- Overrides:
initializedin classorg.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<GrpcServiceDiscoverer>
-
matches
protected reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult> matches(org.springframework.web.server.ServerWebExchange exchange, Supplier<GrpcServiceDiscoverer> context) - Specified by:
matchesin classorg.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<GrpcServiceDiscoverer>
-