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