クラス 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を解決するvoidsetDefaultAuthenticationManager(AuthenticationManager defaultAuthenticationManager) リクエストが一致しない場合に使用するデフォルトのAuthenticationManagerを設定します
メソッドの詳細
resolve
提供されたコンテキストからAuthenticationManagerを解決する- 次で指定:
- インターフェース
AuthenticationManagerResolver<jakarta.servlet.http.HttpServletRequest>のresolve - 戻り値:
- 使用する
AuthenticationManager
setDefaultAuthenticationManager
リクエストが一致しない場合に使用するデフォルトのAuthenticationManagerを設定します- パラメーター:
defaultAuthenticationManager- 使用するデフォルトのAuthenticationManager
builder
RequestMatcherDelegatingAuthorizationManagerのビルダーを作成します。- 戻り値:
- 新しい
RequestMatcherDelegatingAuthorizationManager.Builderインスタンス