クラス IpAddressReactiveAuthorizationManager
java.lang.ObjectSE
org.springframework.security.web.server.authorization.IpAddressReactiveAuthorizationManager
- 実装されたすべてのインターフェース:
ReactiveAuthorizationManager<AuthorizationContext>
public final class IpAddressReactiveAuthorizationManager
extends ObjectSE
implements ReactiveAuthorizationManager<AuthorizationContext>
現在のリクエストに指定されたアドレスまたはアドレスの範囲が含まれているかどうかを判断する
ReactiveAuthorizationManager
- 導入:
- 5.7
メソッドのサマリー
修飾子と型メソッド説明reactor.core.publisher.Mono<AuthorizationDecision>
check
(reactor.core.publisher.Mono<Authentication> authentication, AuthorizationContext context) 特定の認証およびオブジェクトにアクセスを許可するかどうかを決定します。hasIpAddress
(StringSE ipAddress) 指定された IP アドレスを使用してIpAddressReactiveAuthorizationManager
のインスタンスを作成します。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.security.authorization.ReactiveAuthorizationManager から継承されたメソッド
verify
メソッドの詳細
check
public reactor.core.publisher.Mono<AuthorizationDecision> check(reactor.core.publisher.Mono<Authentication> authentication, AuthorizationContext context) インターフェースからコピーされた説明:ReactiveAuthorizationManager
特定の認証およびオブジェクトにアクセスを許可するかどうかを決定します。- 次で指定:
- インターフェース
ReactiveAuthorizationManager<AuthorizationContext>
のcheck
- パラメーター:
authentication
- 確認する認証context
- チェックするオブジェクト- 戻り値:
- 決定できない場合は、決定または空の Mono。
hasIpAddress
指定された IP アドレスを使用してIpAddressReactiveAuthorizationManager
のインスタンスを作成します。- パラメーター:
ipAddress
- リクエストが必要なアドレスまたはアドレスの範囲- 戻り値:
- 新しいインスタンス