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 TypeMethodDescriptionbuilder()reactor.core.publisher.Mono<AuthorizationDecision>check(reactor.core.publisher.Mono<Authentication> authentication, PayloadExchange exchange) Deprecated.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
authorize, verify
-
Method Details
-
check
@Deprecated public reactor.core.publisher.Mono<AuthorizationDecision> check(reactor.core.publisher.Mono<Authentication> authentication, PayloadExchange exchange) Deprecated.please useReactiveAuthorizationManager.authorize(Mono, Object)insteadDescription copied from interface:ReactiveAuthorizationManagerDetermines if access is granted for a specific authentication and object.- Specified by:
checkin 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
-
ReactiveAuthorizationManager.authorize(Mono, Object)instead