クラス RequestMatcherDelegatingAuthorizationManager
java.lang.ObjectSE
org.springframework.security.web.access.intercept.RequestMatcherDelegatingAuthorizationManager
- 実装されたすべてのインターフェース:
AuthorizationManager<jakarta.servlet.http.HttpServletRequest>
public final class RequestMatcherDelegatingAuthorizationManager
extends ObjectSE
implements AuthorizationManager<jakarta.servlet.http.HttpServletRequest>
- 導入:
- 5.5
ネストされたクラスのサマリー
ネストされたクラス修飾子と型クラス説明static final class
メソッドのサマリー
修飾子と型メソッド説明builder()
RequestMatcherDelegatingAuthorizationManager
のビルダーを作成します。check
(SupplierSE<Authentication> authentication, jakarta.servlet.http.HttpServletRequest request) RequestMatcher
評価に基づいて特定のAuthorizationManager
に委譲します。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.security.authorization.AuthorizationManager から継承されたメソッド
verify
メソッドの詳細
check
public AuthorizationDecision check(SupplierSE<Authentication> authentication, jakarta.servlet.http.HttpServletRequest request) RequestMatcher
評価に基づいて特定のAuthorizationManager
に委譲します。- 次で指定:
- インターフェース
AuthorizationManager<jakarta.servlet.http.HttpServletRequest>
のcheck
- パラメーター:
authentication
- チェックするAuthentication
のSupplier
SErequest
- チェックするHttpServletRequest
- 戻り値:
AuthorizationDecision
。リクエストに一致するRequestMatcher
がない場合、またはAuthorizationManager
が決定できなかった場合は、null が返されます。
builder
RequestMatcherDelegatingAuthorizationManager
のビルダーを作成します。- 戻り値:
- 新しい
RequestMatcherDelegatingAuthorizationManager.Builder
インスタンス