Fix for AWC-488 - when a permissions "access is denied" occurs for content/externalaccess/template URL then the login page is now shown

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-02-03 10:56:47 +00:00
parent da914e0549
commit 2c8233db84
7 changed files with 111 additions and 37 deletions

View File

@@ -59,7 +59,11 @@ public class UploadFileServlet extends HttpServlet
try
{
AuthenticationHelper.authenticate(getServletContext(), request, response, false);
AuthenticationStatus status = ServletHelper.servletAuthenticate(request, response, getServletContext());
if (status == AuthenticationStatus.Failure)
{
return;
}
if (isMultipart == false)
{