views:

57

answers:

1

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

A: 

You can add your custom logout handler to the list defined in the constructor args for your logOutFilter bean.

stevebot
I tried - but it doesn't applied... Spring inits this filter with another handlers
dev23
It's hard to say what's wrong without seeing the bean definition for your filter. It sounds like you are doing the right thing though.
stevebot