public class ForwardAuthenticationFailureHandler extends java.lang.Object implements AuthenticationFailureHandler
フォワード認証失敗ハンドラー
| コンストラクターと説明 |
|---|
ForwardAuthenticationFailureHandler(java.lang.String forwardUrl) |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException exception) 認証の試行が失敗したときに呼び出されます。 |
public ForwardAuthenticationFailureHandler(java.lang.String forwardUrl)
forwardUrl -public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthenticationException exception)
throws java.io.IOException,
javax.servlet.ServletExceptionAuthenticationFailureHandlerAuthenticationFailureHandler 内の onAuthenticationFailure request - 認証試行が発生したリクエスト。response - レスポンス。exception - 認証リクエストを拒否するためにスローされた例外。java.io.IOExceptionjavax.servlet.ServletException