Commit 24c104bc authored by Matija Obreza's avatar Matija Obreza

Update JSPs for session access

parent 9d22d5e7
......@@ -156,7 +156,7 @@ public class OAuth2ServerConfig {
// authorize everything on this path
.authorizeRequests().antMatchers("/**").fullyAuthenticated()
// no sessions
.and().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
.and().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED)
.and().requestMatchers().antMatchers("/api/**", "/brapi/**")
// no sessions
......
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" session="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="local" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="cms" tagdir="/WEB-INF/tags/cms" %>
<%@ taglib prefix="menu" tagdir="/WEB-INF/tags/menu" %>
<%@ taglib prefix="gui" tagdir="/WEB-INF/tags/gui" %>
<%@ taglib prefix="filters" tagdir="/WEB-INF/tags/filters"%>
<%@ taglib prefix="overview" tagdir="/WEB-INF/tags/overview"%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" session="false" %>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
......
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
......
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/init.jsp" %>
<%@ include file="/WEB-INF/jsp/init-session.jsp" %>
<html>
<head>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment