Skip to content

Commit 01610c8

Browse files
committed
owerlay XFrameOptionsFilter web.xml configuration
+ need session-timeout to be hardcoded in overlay
1 parent 346e403 commit 01610c8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

web/src/main/webapp/WEB-INF/web.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@
206206
-->
207207
<init-param>
208208
<param-name>mode</param-name>
209-
<param-value>SAMEORIGIN</param-value>
209+
<param-value>ALLOW-FROM</param-value>
210+
</init-param>
211+
<init-param>
212+
<param-name>url</param-name>
213+
<param-value>https://*.admin.ch https://*.cartoriviera.ch https://*.vsgis.ch http://ext.fr.ch http://mapplus.vdf.loc http://mapplus01.vdf.loc https://*.ne.ch https://*.cartolacote.ch https://*.geomapfish.dev</param-value>
210214
</init-param>
211215
<!-- Allowed url. Used in ALLOW-FROM mode only -->
212216
<!--<init-param>
@@ -558,7 +562,7 @@
558562

559563
<session-config>
560564
<tracking-mode>COOKIE</tracking-mode>
561-
<session-timeout>${sessionTimeout}</session-timeout>
565+
<session-timeout>30</session-timeout>
562566
<cookie-config>
563567
<http-only>true</http-only>
564568
<secure>${cookieSecureFlag}</secure>

0 commit comments

Comments
 (0)