Class PayloadExchangeMatcherReactiveAuthorizationManager
java.lang.Object
org.springframework.security.rsocket.authorization.PayloadExchangeMatcherReactiveAuthorizationManager
- All Implemented Interfaces:
ReactiveAuthorizationManager<PayloadExchange>
public final class PayloadExchangeMatcherReactiveAuthorizationManager
extends Object
implements ReactiveAuthorizationManager<PayloadExchange>
Maps a @{code List} of
PayloadExchangeMatcher
instances to- Since:
- 5.2
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
reactor.core.publisher.Mono<AuthorizationDecision>
check
(reactor.core.publisher.Mono<Authentication> authentication, PayloadExchange exchange) Determines if access is granted for a specific authentication and object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.security.authorization.ReactiveAuthorizationManager
verify
-
Method Details
-
check
public reactor.core.publisher.Mono<AuthorizationDecision> check(reactor.core.publisher.Mono<Authentication> authentication, PayloadExchange exchange) Description copied from interface:ReactiveAuthorizationManager
Determines if access is granted for a specific authentication and object.- Specified by:
check
in interfaceReactiveAuthorizationManager<PayloadExchange>
- Parameters:
authentication
- the Authentication to checkexchange
- the object to check- Returns:
- an decision or empty Mono if no decision could be made.
-
builder
-