Index: lams_common/web/login.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_common/web/Attic/login.jsp,v diff -u -r1.3 -r1.4 --- lams_common/web/login.jsp 13 Dec 2004 05:52:11 -0000 1.3 +++ lams_common/web/login.jsp 19 Dec 2004 11:53:12 -0000 1.4 @@ -3,7 +3,13 @@ <%@ page contentType="text/html; charset=iso-8859-1" language="java" %> <%@ page session="true" %> <%@ page import="com.lamsinternational.lams.util.JspRedirectStrategy" %> +<%@ page import="com.lamsinternational.lams.security.Global" %> <% + + //FIXME: temporary solution + if (Global.getServletContext() == null) + Global.setServletContext( request.getSession().getServletContext() ); + String failed = request.getParameter("failed"); if (failed == null) { @@ -15,6 +21,13 @@ if (JspRedirectStrategy.errorPageRedirected(request,response)) return; } + + String webAuthUser = (String) session.getAttribute("WEBAUTH_USER"); + if (webAuthUser != null) + { + response.sendRedirect("j_security_check?j_username=" + webAuthUser + "&j_password=Dummy"); + } + %> @@ -104,11 +117,27 @@ + + + +


+ + + + + + + WebAuth Users: click here + + + - + + +