We have a Java Dropwizard application that currently uses a custom authentication filter.
We need to add a new authentication filter that will be executed only if the old one fails.
Is there any way to register a filter as a fallback for another one?
Maybe something like
environment.servlets().addFilter("A").onFail("B")
?