Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

57792: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
      57768: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.1)
         57694: Merged DEV to V4.1-BUG-FIX (4.1.8)
            57603: MNT-9284 : Upload speed using CIFS between PostgreSQL and SQL Server 2008
            Deleted an unnecessary transaction in org.alfresco.filesys.auth.cifs.CifsAuthenticatorBase#setCurrentUser.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-02-11 22:05:12 +00:00
parent 84a951b647
commit b8ff47de1e

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2005-2010 Alfresco Software Limited. * Copyright (C) 2005-2013 Alfresco Software Limited.
* *
* This file is part of Alfresco * This file is part of Alfresco
* *
@@ -450,11 +450,6 @@ public abstract class CifsAuthenticatorBase extends CifsAuthenticator implements
getAuthenticationComponent().clearCurrentSecurityContext(); getAuthenticationComponent().clearCurrentSecurityContext();
return; return;
} }
doInTransaction(new RetryingTransactionHelper.RetryingTransactionCallback<Object>()
{
public Object execute() throws Throwable
{
if (client.isGuest() == false && client instanceof AlfrescoClientInfo) if (client.isGuest() == false && client instanceof AlfrescoClientInfo)
{ {
// Set the authentication context for the request // Set the authentication context for the request
@@ -516,9 +511,6 @@ public abstract class CifsAuthenticatorBase extends CifsAuthenticator implements
getAuthenticationComponent().setGuestUserAsCurrentUser(); getAuthenticationComponent().setGuestUserAsCurrentUser();
} }
return null;
}
});
} }
/** /**