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

104860: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      104812: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         104736: Merged DEV to V4.2-BUG-FIX (4.2.5).
            103329: MNT-13907: CMIS Bulk Update Properties will fail if number of worker threads is 1.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-05-26 21:55:14 +00:00
parent 2de63f795b
commit 2429784d6d

View File

@@ -1795,6 +1795,7 @@ public class AlfrescoCmisServiceImpl extends AbstractCmisService implements Alfr
public void beforeProcess() throws Throwable
{
// Authentication
AuthenticationUtil.pushAuthentication();
AuthenticationUtil.setFullyAuthenticatedUser(runAsUser);
}
@@ -1802,7 +1803,7 @@ public class AlfrescoCmisServiceImpl extends AbstractCmisService implements Alfr
public void afterProcess() throws Throwable
{
// Clear authentication
AuthenticationUtil.clearCurrentSecurityContext();
AuthenticationUtil.popAuthentication();
}
};