MT - fix, missed in previous merge

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8516 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2008-03-11 18:08:14 +00:00
parent 7f09e22794
commit af56b1ebac

View File

@@ -110,6 +110,8 @@ public class AuthenticationServiceImpl extends AbstractAuthenticationService
{ {
try try
{ {
// clear context - to avoid MT concurrency issue (causing domain mismatch) - see also 'validate' below
clearCurrentSecurityContext();
preAuthenticationCheck(userName); preAuthenticationCheck(userName);
authenticationComponent.authenticate(userName, password); authenticationComponent.authenticate(userName, password);
} }