T
- The type of object authorization is being performed against. This does not
matter since the authorization decision does not use the object.public class AuthenticatedReactiveAuthorizationManager<T> extends java.lang.Object implements ReactiveAuthorizationManager<T>
ReactiveAuthorizationManager
that determines if the current user is
authenticated.Modifier and Type | Method and Description |
---|---|
static <T> AuthenticatedReactiveAuthorizationManager<T> |
authenticated()
Gets an instance of
AuthenticatedReactiveAuthorizationManager |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
verify
public reactor.core.publisher.Mono<AuthorizationDecision> check(reactor.core.publisher.Mono<Authentication> authentication, T object)
ReactiveAuthorizationManager
check
in interface ReactiveAuthorizationManager<T>
authentication
- the Authentication to checkobject
- the object to checkpublic static <T> AuthenticatedReactiveAuthorizationManager<T> authenticated()
AuthenticatedReactiveAuthorizationManager
T
-