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
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<AuthorizationResult>authorize(reactor.core.publisher.Mono<Authentication> authentication, PayloadExchange exchange) Determines if access is granted for a specific authentication and object.builder()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.authorization.ReactiveAuthorizationManager
verify
-
Method Details
-
authorize
public reactor.core.publisher.Mono<AuthorizationResult> authorize(reactor.core.publisher.Mono<Authentication> authentication, PayloadExchange exchange) Description copied from interface:ReactiveAuthorizationManagerDetermines if access is granted for a specific authentication and object.- Specified by:
authorizein interfaceReactiveAuthorizationManager<PayloadExchange>- Parameters:
authentication- the Authentication to authorizeexchange- the object to check- Returns:
- an decision or empty Mono if no decision could be made.
-
builder
-