context.xml

[engineDir]/configuration/reference/context.xml

 1<?xml version="1.0" encoding="UTF-8"?>
 2<!--
 3  ========================================================================
 4  Configures Valves and Realms of the embedded Tomcat Webserver
 5  ========================================================================
 6
 7  This file shows the context configuration of the the embedded Tomcat Webserver.
 8
 9  Copy contents of this reference file to 'configuration/context.xml' before adjusting
10  them to your needs. Changing this file has no effect.
11
12  See apache tomcat documentation for more information about context configuration:
13  https://tomcat.apache.org/tomcat-9.0-doc/config/context.html
14
15-->
16<Context>
17
18  <!-- ====================== Cookies ====================== -->
19
20  <!--
21  Prevents CSRF attacks by preventing the browser from sending cookies with cross-site requests.
22  More information can be found here: https://www.owasp.org/index.php/SameSite
23  Possible values are:
24  - 'strict': prevent cooky sharing in all cross-site browsing contexts.
25      Warning! This breakes process start and task mail links from third party sites and web mail clients.
26  - 'lax': provides a reasonable balance between security and usability for websites
27  - 'none': do not use same site cookie header
28  By default the value 'lax' is used.
29  -->
30  <CookieProcessor sameSiteCookies="lax"/>
31
32  <!-- ====================== Tomcat Valves ====================== -->
33
34  <!--
35  Limits the access to the ivy application to clients connecting from localhost.
36  -->
37  <!--
38  <Valve className="org.apache.catalina.valves.RemoteAddrValve"
39       allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />
40  -->
41
42  <!--
43  Creates an access log entry for each request against the ivy application.
44  -->
45  <!--
46  <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
47       prefix="access_log." suffix=".txt"
48       pattern="%h %l %u %t &quot;%r&quot; %s %b" />
49  -->
50
51
52  <!-- ====================== Custom Valves ====================== -->
53
54  <!--
55  You can configure any third party valve or even your own implementation of a valve.
56  A full valve sample implementation can be found on GitHub:
57
58  https://github.com/axonivy/extension-demos/tree/master/ProcessingValve
59
60  -->
61
62</Context>