tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierrick Terrettaz <>
Subject Re: realm login and user session are not the same
Date Fri, 06 Jun 2008 23:38:21 GMT
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

     // call the filter chain
     filterChain.doFilter(request, response);

     // clean the thread local

- 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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message