Index: lams_central/web/login.jsp =================================================================== diff -u -ra5104812431b3725999b2ee888172f0d489ffe17 -r0191d40366afbe37b485950760632bb0aad9eb62 --- lams_central/web/login.jsp (.../login.jsp) (revision a5104812431b3725999b2ee888172f0d489ffe17) +++ lams_central/web/login.jsp (.../login.jsp) (revision 0191d40366afbe37b485950760632bb0aad9eb62) @@ -1,156 +1,178 @@ -<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %> -<%@ taglib uri="tags-fmt" prefix="fmt" %> -<%@ taglib uri="tags-core" prefix="c" %> -<%@ taglib uri="tags-lams" prefix="lams" %> -<%@ page import="org.lamsfoundation.lams.security.JspRedirectStrategy" %> -<%@ page import="org.lamsfoundation.lams.util.Configuration" %> -<%@ page import="org.lamsfoundation.lams.util.ConfigurationKeys" %> +<%@ page language="java" pageEncoding="UTF-8" + contentType="text/html;charset=utf-8"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ page import="org.lamsfoundation.lams.security.JspRedirectStrategy"%> +<%@ page import="org.lamsfoundation.lams.util.Configuration"%> +<%@ page import="org.lamsfoundation.lams.util.ConfigurationKeys"%> <%-- If you change this file, remember to update the copy made for CNG-21 --%> -<% - if (JspRedirectStrategy.loginPageRedirected(request,response)) - { +<% + if (JspRedirectStrategy.loginPageRedirected(request, response)) { return; - } - - /*String webAuthUser = (String) session.getAttribute("WEBAUTH_USER"); - if (webAuthUser != null) - { - response.sendRedirect("j_security_check?j_username=" + webAuthUser + "&j_password=Dummy"); - }*/ - - // for sysadmin to be able to login as someone else - String login = (String)session.getAttribute("login"); - if (login!=null) { - session.removeAttribute("login"); - response.sendRedirect("j_security_check?j_username="+login+"&j_password=dummy"); - } + } %> + + <%= Configuration.getAsBoolean(ConfigurationKeys.LDAP_ENCRYPT_PASSWORD_FROM_BROWSER) %> - <fmt:message key="title.login.window"/> - + <fmt:message key="title.login.window" /> + - - - + + - -
- + +
+

 

- -
- -
- - - -
- -
-

LAMS - Learning Activity Management System

- - - <%try{%> - - <%}catch(Exception e){e.printStackTrace();}%> -
- + +
+ + +
+
+

+ LAMS - Learning Activity Management System +

-
-

<%= Configuration.get(ConfigurationKeys.VERSION) %>

-

-
+ + + <% + try { + %> + + <% + } catch (Exception e) { + e.printStackTrace(); + } + %> +
+ + +
+

+ + <%=Configuration.get(ConfigurationKeys.VERSION)%>

+

+ +

+ - -

: - -

-

: - -

+ + + + +

+ + : +

+ +

+ + : +

+ - + + + +

+ -
- -
- -
+ +
+ + +

+
+ - - -
+
+ +
+ + + +
+ + + - - -
+ \ No newline at end of file