Class DelegatingReactiveAuthorizationManager
java.lang.Object
org.springframework.security.web.server.authorization.DelegatingReactiveAuthorizationManager
- All Implemented Interfaces:
ReactiveAuthorizationManager<org.springframework.web.server.ServerWebExchange>
public final class DelegatingReactiveAuthorizationManager
extends Object
implements ReactiveAuthorizationManager<org.springframework.web.server.ServerWebExchange>
- Since:
- 5.0
-
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, org.springframework.web.server.ServerWebExchange 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, org.springframework.web.server.ServerWebExchange exchange) Description copied from interface:ReactiveAuthorizationManagerDetermines if access is granted for a specific authentication and object.- Specified by:
authorizein interfaceReactiveAuthorizationManager<org.springframework.web.server.ServerWebExchange>- Parameters:
authentication- the Authentication to authorizeexchange- the object to check- Returns:
- an decision or empty Mono if no decision could be made.
-
builder
-