クラス ForwardAuthenticationSuccessHandler
java.lang.ObjectSE
org.springframework.security.web.authentication.ForwardAuthenticationSuccessHandler
- 実装されたすべてのインターフェース:
AuthenticationSuccessHandler
public class ForwardAuthenticationSuccessHandler
extends ObjectSE
implements AuthenticationSuccessHandler
フォワード認証成功ハンドラー
- 導入:
- 4.1
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
onAuthenticationSuccess
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) ユーザーが正常に認証されたときに呼び出されます。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.security.web.authentication.AuthenticationSuccessHandler から継承されたメソッド
onAuthenticationSuccess
コンストラクターの詳細
ForwardAuthenticationSuccessHandler
- パラメーター:
forwardUrl
-
メソッドの詳細
onAuthenticationSuccess
public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) throws IOExceptionSE, jakarta.servlet.ServletException インターフェースからコピーされた説明:AuthenticationSuccessHandler
ユーザーが正常に認証されたときに呼び出されます。- 次で指定:
- インターフェース
AuthenticationSuccessHandler
のonAuthenticationSuccess
- パラメーター:
request
- 成功した認証を引き起こしたリクエストresponse
- レスポンスauthentication
- 認証プロセス中に作成された Authentication オブジェクト。- 例外:
IOExceptionSE
jakarta.servlet.ServletException