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