Spring Security + ThymeleafでAjaxリクエストにCSRF対策トークンを適用2018-07-25フォームでPOSTする時はSpring Security + Thymeleafを使えば簡単にトークンを埋め込むことができる。 しかしAjaxでリクエストする時に