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