I have the feeling that the need to carry arbitrary properties around is
inevitable so  +1 for st.getContainer which delegates to
st.getParameter(key) where key is a reserved constant.

Hopefully people will realize that they can't stuff this like a Xmas
stocking

On Thu, Oct 2, 2008 at 10:56 PM, Brian Eaton <[EMAIL PROTECTED]> wrote:

> On Thu, Oct 2, 2008 at 9:34 PM, Evan Gilbert <[EMAIL PROTECTED]> wrote:
> > Request scoped Guice variables handle this much more
> > cleanly.
>
> Do you have some example code for this?  Would it work something like this:
>
> - SecurityTokenDecoder verifies token, sticks verified token in ether
> fully typed
> - Code running later on in request processing magically pulls token
> (as full type) out of ether
>
> Setting credentials as thread-local is sometimes used for this kind of
> thing, but I can't see that working for something that uses thread
> pools as much as Shindig.
>

Reply via email to