MNT-17978: Reverting fix for MNT-17978: Non-domain users were not able to access webdav by mapping the network drive in windows explorer

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jelena Cule
2017-06-26 08:28:44 +00:00
parent 862ca386fb
commit d62104b859

View File

@@ -365,14 +365,8 @@ public abstract class BaseKerberosAuthenticationFilter extends BaseSSOAuthentica
req.getRemoteAddr() + ":" + req.getRemotePort() + ")");
// Send back a request for SPNEGO authentication
if (req.getRequestURL().toString().contains("webdav"))
{
logonStartAgain(context, req, resp, false);
}
else
{
logonStartAgain(context, req, resp, true);
}
return false;
}
else
@@ -684,7 +678,6 @@ public abstract class BaseKerberosAuthenticationFilter extends BaseSSOAuthentica
resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
writeLoginPageLink(context, req, resp);
resp.flushBuffer();
}
}