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