mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-27 16:14:55 +01:00
20 lines
802 B
Plaintext
20 lines
802 B
Plaintext
|
<%@ page import="com.wisemapping.model.User" %>
|
||
|
<%@ page import="com.wisemapping.security.Utils" %>
|
||
|
<%@ page import="com.wisemapping.filter.UserAgent" %>
|
||
|
<%@ page import="com.wisemapping.filter.BrowserSupportInterceptor" %>
|
||
|
<%@ page session="false" contentType="text/html;charset=UTF-8" %>
|
||
|
|
||
|
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||
|
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
||
|
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||
|
<%
|
||
|
User user = Utils.getUser(request);
|
||
|
request.setAttribute("principal", user);
|
||
|
|
||
|
UserAgent userAgent = null;
|
||
|
final HttpSession session = request.getSession();
|
||
|
if (session != null) {
|
||
|
userAgent = (UserAgent) session.getAttribute(BrowserSupportInterceptor.USER_AGENT);
|
||
|
}
|
||
|
%>
|