Absolutely. Hopefully what I wrote makes sense.
The thing about this I'm not entirely sure of is where I should have
solved the problem some other way; for example, in some context
listener somewhere, find the context and inject the SpecificPrincipal
there.
I am probably being thick but I really wish there were no @Context at
all and I could just handle everything via guice. In the guice way, I
think that each request would get its own childInjector. @Context
would, I think, be unnecessary. (I could be wrong, I'm not super
knowledgable about @Context other than getting the few things I need
from it).
On Tue, Feb 15, 2011 at 9:01 AM, Marek Potociar
<marek.potociar_at_oracle.com> wrote:
> can you please file an enhancement request here: http://java.net/jira/browse/jersey