Le 20/10/2013 01:08, Josh Berry a écrit :
Also, I encountered some annoyance dealing the the Guice JPA extension and Shiro. Specifically, the PersistFilter is not "reentrant" (I think that is the right term) and would throw an exception on forwarded requests. I basically used your OncePerRequest pattern to wrap the PersistFilter. Does this sound like I did something else wrong, or would this be expected with any other filter in the application? (If it helps, I can probably setup a minimal example of what I'm talking about on github.)
Not sure this is related, as filter seems to be executed twice, but in case :
if you forward your request, by default the request is not filtered again : it depends on filter mapping dispatchers. See for example http://stackoverflow.com/questions/2968621/dispatcher-for-filter-mapping L.
