Propagating user context to the business layer

2007-08-28 Thread Huergo Perez
Hi All, I have a user context stored in a Wicket session with all required user information (username, roles, etc. -- put in the session upon user log in). I need to make the user context available to my business layer via a thread-local variable. That is, I need to put it in a thread-local

Re: Propagating user context to the business layer

2007-08-28 Thread Matej Knopp
You can extend RequestCycle and do that in onEndRequest. To use custom request cycle class override Application.newRequestCycle(final Request request, final Response response); -Matej On 8/28/07, Huergo Perez [EMAIL PROTECTED] wrote: Hi All, I have a user context stored in a Wicket session