クラス ForwardAuthenticationFailureHandler
java.lang.ObjectSE
org.springframework.security.web.authentication.ForwardAuthenticationFailureHandler
- 実装されているすべてのインターフェース:
AuthenticationFailureHandler
public class ForwardAuthenticationFailureHandler
extends ObjectSE
implements AuthenticationFailureHandler
フォワード認証失敗ハンドラー
- 導入:
- 4.1
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明voidonAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationException exception) 認証の試行が失敗したときに呼び出されます。
コンストラクターの詳細
ForwardAuthenticationFailureHandler
- パラメーター:
forwardUrl-
メソッドの詳細
onAuthenticationFailure
public void onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationException exception) throws IOExceptionSE, jakarta.servlet.ServletException インターフェースからコピーされた説明:AuthenticationFailureHandler認証の試行が失敗したときに呼び出されます。- 次で指定:
- インターフェース
AuthenticationFailureHandlerのonAuthenticationFailure - パラメーター:
request- 認証試行が発生したリクエスト。response- レスポンス。exception- 認証リクエストを拒否するためにスローされた例外。- 例外:
IOExceptionSEjakarta.servlet.ServletException