クラス RequestMatcherDelegatingAuthenticationManagerResolver
java.lang.ObjectSE
org.springframework.security.web.authentication.RequestMatcherDelegatingAuthenticationManagerResolver
- 実装されたすべてのインターフェース:
AuthenticationManagerResolver<jakarta.servlet.http.HttpServletRequest>
public final class RequestMatcherDelegatingAuthenticationManagerResolver
extends ObjectSE
implements AuthenticationManagerResolver<jakarta.servlet.http.HttpServletRequest>
resolve(HttpServletRequest)
に渡された HttpServletRequest
の型に基づいて AuthenticationManager
インスタンスを返す AuthenticationManagerResolver
。- 導入:
- 5.7
ネストされたクラスのサマリー
ネストされたクラス修飾子と型クラス説明static final class
メソッドのサマリー
修飾子と型メソッド説明builder()
RequestMatcherDelegatingAuthorizationManager
のビルダーを作成します。resolve
(jakarta.servlet.http.HttpServletRequest context) 提供されたコンテキストからAuthenticationManager
を解決するvoid
setDefaultAuthenticationManager
(AuthenticationManager defaultAuthenticationManager) リクエストが一致しない場合に使用するデフォルトのAuthenticationManager
を設定します
メソッドの詳細
resolve
提供されたコンテキストからAuthenticationManager
を解決する- 次で指定:
- インターフェース
AuthenticationManagerResolver<jakarta.servlet.http.HttpServletRequest>
のresolve
- 戻り値:
- 使用する
AuthenticationManager
setDefaultAuthenticationManager
リクエストが一致しない場合に使用するデフォルトのAuthenticationManager
を設定します- パラメーター:
defaultAuthenticationManager
- 使用するデフォルトのAuthenticationManager
builder
RequestMatcherDelegatingAuthorizationManager
のビルダーを作成します。- 戻り値:
- 新しい
RequestMatcherDelegatingAuthorizationManager.Builder
インスタンス