%@ page contentType="text/html; charset=iso-8859-1" language="java" %> <%@ page import="java.util.List" %> <%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %> <%@ page import="org.springframework.web.context.WebApplicationContext" %> <%@ page import="com.lamsinternational.lams.usermanagement.service.UserManagementService" %> <%@ page import="com.lamsinternational.lams.usermanagement.*" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
![]() |
|||||||||||||||
<%String login = request.getRemoteUser();
WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(request.getSession().getServletContext());
UserManagementService service = (UserManagementService)ctx.getBean("userManagementServiceTarget");
User user = service.getUserByLogin(login);
if ( login==null ){%>
An error has occured. You have tried to log in but we didn't get the username. Try closing your browser and starting again. <%}%>
|
|||||||||||||||
|