T
- the type of object that the authorization check is being done one.public interface ReactiveAuthorizationManager<T>
Authentication
has
access to a specific object.Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<AuthorizationDecision> |
check(reactor.core.publisher.Mono<Authentication> authentication,
T object)
Determines if access is granted for a specific authentication and object.
|
default reactor.core.publisher.Mono<java.lang.Void> |
verify(reactor.core.publisher.Mono<Authentication> authentication,
T object)
Determines if access should be granted for a specific authentication and object
|
reactor.core.publisher.Mono<AuthorizationDecision> check(reactor.core.publisher.Mono<Authentication> authentication, T object)
authentication
- the Authentication to checkobject
- the object to checkdefault reactor.core.publisher.Mono<java.lang.Void> verify(reactor.core.publisher.Mono<Authentication> authentication, T object)
authentication
- the Authentication to checkobject
- the object to check