Adding a servlet filter

I’m trying to add a servlet filter to my Vaadin app but that servlet filter is also filtering communication between the flow server and the client, but I just want to filter one request from the client. Is there any other way to implement a filter?

What is it that you’re trying to accomplish with the filter?

I want to implement a authfilter

I highly recommend that you don’t try to implement authentication yourself, but instead use Spring Security and the built in Vaadin helpers for that Enabling Security | Security | Vaadin Docs