We plan to use the use of Jersey links for our REST APIs. As a prototype, I also played with ContainerRequestFilters, and I implemented several of them. Is there a way we can control the execution order of these filters?
The scenario that I am considering here is to provide the first security filter, and if necessary set the SecurityContext and then execute the other filters.
java-ee rest jersey
vivekj
source share