I\'m developing a Spring boot based app. I noticed that for asynchronous endpoints authentication filter is called twice, for regular endpoints it\'s called once. I couldn\'t fi
I had the same problem with a concrete implementation of the class AbstractAuthenticationProcessingFilter
, I belive to solve it It's better create a custom implementation of whaterver class that implements OncePerRequestFilter
, in my particular case I created an implementation of AuthenticationFilter
.