mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user