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