クラス 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)
方法の概要
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 voidonAuthenticationFailure(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.IOExceptionjavax.servlet.ServletException