インターフェース ReactiveAuthorizationManager<T>
- 型パラメーター:
T
- 認可検査が行われているオブジェクトの型。
- すべての既知の実装クラス:
AuthenticatedReactiveAuthorizationManager
、AuthorityReactiveAuthorizationManager
、DelegatingReactiveAuthorizationManager
、IpAddressReactiveAuthorizationManager
、ObservationReactiveAuthorizationManager
、PayloadExchangeMatcherReactiveAuthorizationManager
、PostAuthorizeReactiveAuthorizationManager
、PreAuthorizeReactiveAuthorizationManager
public interface ReactiveAuthorizationManager<T>
Authentication
が特定のオブジェクトにアクセスできるかどうかを判別できるリアクティブ型の認可マネージャー。- 導入:
- 5.0
メソッドのサマリー
修飾子と型メソッド説明reactor.core.publisher.Mono<AuthorizationDecision>
check
(reactor.core.publisher.Mono<Authentication> authentication, T object) 特定の認証およびオブジェクトにアクセスを許可するかどうかを決定します。default reactor.core.publisher.Mono<VoidSE>
verify
(reactor.core.publisher.Mono<Authentication> authentication, T object) 特定の認証とオブジェクトにアクセスを許可するかどうかを決定します
メソッドの詳細
check
reactor.core.publisher.Mono<AuthorizationDecision> check(reactor.core.publisher.Mono<Authentication> authentication, T object) 特定の認証およびオブジェクトにアクセスを許可するかどうかを決定します。- パラメーター:
authentication
- 確認する認証object
- チェックするオブジェクト- 戻り値:
- 決定できない場合は、決定または空の Mono。
verify
default reactor.core.publisher.Mono<VoidSE> verify(reactor.core.publisher.Mono<Authentication> authentication, T object) 特定の認証とオブジェクトにアクセスを許可するかどうかを決定します- パラメーター:
authentication
- 確認する認証object
- チェックするオブジェクト- 戻り値:
- 認可が付与された場合は空の Mono、アクセスが拒否された場合は Mono エラー