users@jersey.java.net

ResourceFilter to execute after the ServletFilters

From: Alan McKernan <alan_at_doyoupoken.com>
Date: Fri, 28 Aug 2009 14:37:45 +0200

Hi everyone,

I have a number of ServletFilters, and one ResourceFilterFactory.

I need the ServletFilters to execute before the ResourceFilterFactory as the
ServletFilters setup some context
required by the ResourceFilterFactory.

Anyone know how I can achieve this?

Otherwise I can move some of my ServletFilter logic into a ResourceFilter,
but there I cant seem to access the servlet request via @Context, it always
comes out null. Any solution for this maybe?

Best Regards,
Alan Mc Kernan