spring security customize logout handler

前端 未结 4 2120
谎友^
谎友^ 2020-12-15 05:25

How can I add my own logout handler to LogoutFilter in spring-security ? Thanks!

4条回答
  •  旧时难觅i
    2020-12-15 05:56

    You should use success-handler-ref attribute of element:

    
    

    As alternative solution you can configure your own filter on the logout URL.

提交回复
热议问题