Re: realm login and user session are not the same

2008-06-06 Thread Pierrick Terrettaz
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 = (HttpServle

Re: realm login and user session are not the same

2008-02-21 Thread Pierrick Terrettaz
Caldarale, Charles R a écrit : >> From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED] >> Subject: Re: realm login and user session are not the same >> >> We are also using a ThreadLocal static reference in a class >> to store the request.getUserPrincipal() to g

RE: realm login and user session are not the same

2008-02-21 Thread Caldarale, Charles R
> From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED] > Subject: Re: realm login and user session are not the same > > We are also using a ThreadLocal static reference in a class > to store the request.getUserPrincipal() to give the current > username to beans which are not acc

Re: realm login and user session are not the same

2008-02-21 Thread Pierrick Terrettaz
Caldarale, Charles R a écrit : >> From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED] >> Subject: realm login and user session are not the same >> >> When a user logs in through the realm authentification >> FORM method in the website, the username and login are

RE: realm login and user session are not the same

2008-02-21 Thread Caldarale, Charles R
> From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED] > Subject: realm login and user session are not the same > > When a user logs in through the realm authentification > FORM method in the website, the username and login are > well checked but the user come in with the sess

realm login and user session are not the same

2008-02-21 Thread Pierrick Terrettaz
Hi, I've a problem with tomcat server 5.5. When a user logs in through the realm authentification FORM method in the website, the username and login are well checked but the user come in with the session of an other user with roles of this other user. This happens randomly with on user sessions w