1. 程式人生 > >SPringBoot Logout說明1。2。

SPringBoot Logout說明1。2。

SpringBoot zh中 springSecurity logout csrf說明

1.在CSRF enabled (default), 使用 POST退出。
這裡寫圖片描述

2.若果不配置則不用,直接 就可以,如下圖配置,http.csrf().disabled()
這裡寫圖片描述