Merged 5.0.N (5.0.3) to HEAD (5.1/Cloud)

108933: MNT-14212: webdav 401 page redirects to /alfresco/faces/jsp/login.jsp which does not exist on 5.X then generating a 404 error


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-07-25 14:57:39 +00:00
parent 8a44f79536
commit 930dff0dc3

View File

@@ -83,8 +83,8 @@ public class KerberosAuthenticationFilter extends BaseKerberosAuthenticationFilt
final PrintWriter out = resp.getWriter(); final PrintWriter out = resp.getWriter();
out.println("<html><head>"); out.println("<html><head>");
out.println("<meta http-equiv=\"Refresh\" content=\"0; url=" + req.getContextPath() + "/faces/jsp/login.jsp?_alfRedirect=%2Falfresco%2Fwebdav\">"); out.println("<meta http-equiv=\"Refresh\" content=\"0; url=" + req.getContextPath() + "/webdav\">");
out.println("</head><body><p>Please <a href=\"" + req.getContextPath() + "/faces/jsp/login.jsp?_alfRedirect=%2Falfresco%2Fwebdav\">log in</a>.</p>"); out.println("</head><body><p>Please <a href=\"" + req.getContextPath() + "/webdav\">log in</a>.</p>");
out.println("</body></html>"); out.println("</body></html>");
out.close(); out.close();
} }