MNT-17850 Stop auto refresh of login link page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alex Mukha
2017-05-17 15:21:20 +00:00
parent b4dc28b838
commit 14e75a849f

View File

@@ -598,9 +598,10 @@ public abstract class BaseSSOAuthenticationFilter extends BaseAuthenticationFilt
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=" + // Remove the auto refresh to avoid refresh loop, MNT-16931
req.getContextPath() + getLoginPageLink() + // out.println("<meta http-equiv=\"Refresh\" content=\"0; url=" +
"\">"); // req.getContextPath() + getLoginPageLink() +
// "\">");
out.println("</head><body><p>Please <a href=\"" + out.println("</head><body><p>Please <a href=\"" +
req.getContextPath() + "/faces" + getLoginPage() + req.getContextPath() + "/faces" + getLoginPage() +
"\">log in</a>.</p>"); "\">log in</a>.</p>");