Since we clean the threadlocal after each requests, the issue is solved.
We used a main filter which encapsulates the request processing and at
the end of the filter, we set the threadlocal to null.
something like :
public void doFilter(..) throws .. {
HttpServletRequest req = (HttpServletRequest) request;
// set threadLocal at each request
PrincipalStore.set(req.getUserPrincipal());
// call the filter chain
filterChain.doFilter(request, response);
// clean the thread local
PrincipalStore.set(null);
}
- Pierrick
Le 21 févr. 08 à 21:23, Pierrick Terrettaz a écrit :
Currently we don't clean the threadlocal after the request processing.
I will try and see if it works better.
Thanks
Pierrick
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]