= (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
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
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
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