Class PayloadExchangeMatcherReactiveAuthorizationManager
- java.lang.Object
-
- org.springframework.security.rsocket.authorization.PayloadExchangeMatcherReactiveAuthorizationManager
-
- All Implemented Interfaces:
ReactiveAuthorizationManager<PayloadExchange>
public final class PayloadExchangeMatcherReactiveAuthorizationManager extends java.lang.Object implements ReactiveAuthorizationManager<PayloadExchange>
Maps a @{code List} ofPayloadExchangeMatcher
instances to- Since:
- 5.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PayloadExchangeMatcherReactiveAuthorizationManager.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PayloadExchangeMatcherReactiveAuthorizationManager.Builder
builder()
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 Detail
-
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
public static PayloadExchangeMatcherReactiveAuthorizationManager.Builder builder()
-
-