回答編集履歴
1
追記
answer
CHANGED
@@ -10,6 +10,6 @@
|
|
10
10
|
.successHandler(new SampleAuthenticationSuccessHandler()) // 認証成功時のハンドラクラス
|
11
11
|
.usernameParameter("username") // ユーザー名のパラメータ
|
12
12
|
.passwordParameter("password") // パスワードのパラメータ
|
13
|
-
.defaultSuccessUrl("/") // 認証成功時の遷移先
|
13
|
+
.defaultSuccessUrl("/") // 認証成功時の遷移先 ※ SuccessHandlerが呼ばれない場合はコメントアウト
|
14
14
|
.and();
|
15
15
|
```
|