ALF-9689 - Reinstate FTP tests

ALF-9404 - Save As New file.
ALF-8756 - Robocopy and Touch

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29551 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2011-08-05 09:05:37 +00:00
parent 5857c90025
commit 41a735de30
8 changed files with 358 additions and 124 deletions

View File

@@ -47,10 +47,8 @@ import org.alfresco.repo.cache.SimpleCache;
import org.alfresco.repo.node.NodeServicePolicies;
import org.alfresco.repo.policy.JavaBehaviour;
import org.alfresco.repo.policy.PolicyComponent;
import org.alfresco.repo.security.authentication.AuthenticationUtil;
import org.alfresco.service.cmr.repository.ChildAssociationRef;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.alfresco.util.PropertyCheck;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -160,8 +158,9 @@ public class BufferedContentDiskDriver implements ExtendedDiskInterface,
public FileInfo getFileInformation(SrvSession sess, TreeConnection tree,
String path) throws IOException
{
String userName = sess.getClientInformation().getUserName();
String userName = AuthenticationUtil.getFullyAuthenticatedUser();
if(logger.isDebugEnabled())
{
logger.debug("getFileInformation userName:" + userName + ", path:" + path);
@@ -208,8 +207,9 @@ public class BufferedContentDiskDriver implements ExtendedDiskInterface,
@Override
public int fileExists(SrvSession sess, TreeConnection tree, String path)
{
String userName = sess.getClientInformation().getUserName();
String userName = AuthenticationUtil.getFullyAuthenticatedUser();
if(logger.isDebugEnabled())
{
logger.debug("fileExists userName:" + userName + ", path:" + path);