クラス AuthenticationEntryPointFailureHandler
- java.lang.Object
-
- org.springframework.security.web.authentication.AuthenticationEntryPointFailureHandler
- 実装されているすべてのインターフェース:
AuthenticationFailureHandler
public class AuthenticationEntryPointFailureHandler extends java.lang.Object implements AuthenticationFailureHandler
- 導入:
- 5.2.0
コンストラクターの概要
コンストラクター コンストラクター 説明 AuthenticationEntryPointFailureHandler(AuthenticationEntryPoint authenticationEntryPoint)
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 void
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException exception)
認証の試行が失敗したときに呼び出されます。
コンストラクターの詳細
AuthenticationEntryPointFailureHandler
public AuthenticationEntryPointFailureHandler(AuthenticationEntryPoint authenticationEntryPoint)
メソッドの詳細
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