Fix AuthenticationTest(s)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8588 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2008-03-22 08:46:05 +00:00
parent 0ef179c886
commit 2789aaccf0

View File

@@ -167,7 +167,8 @@ public class AuthenticationServiceImpl extends AbstractAuthenticationService
{ {
// clear context - to avoid MT concurrency issue (causing domain mismatch) - see also 'authenticate' above // clear context - to avoid MT concurrency issue (causing domain mismatch) - see also 'authenticate' above
clearCurrentSecurityContext(); clearCurrentSecurityContext();
authenticationComponent.setCurrentUser(ticketComponent.validateTicket(ticket)); authenticationComponent.setCurrentUser(ticketComponent.getAuthorityForTicket(ticket));
ticketComponent.validateTicket(ticket);
} }
catch(AuthenticationException ae) catch(AuthenticationException ae)
{ {