You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,39 @@ The ECC supports three different way to exchange data:
64
64
***IDSCP2** enabled if *IDSCP2=true* and *WS_INTERNAL=false* (use https on the edge) or *IDSCP2=true* and *WS_INTERNAL=true* (use WS on the edge)
65
65
***Web Socket over HTTPS** enabled if *WS_OVER_HTTPS=true* and *IDSCP2=false*
66
66
67
+
## Firewall <aname="firewall"></a>
68
+
69
+
Execution Core Container allows setting up HttpFirewall through Spring Security. To turn it on/off, please take a look at following property:
70
+
71
+
```
72
+
#Firewall
73
+
application.firewall.isEnabled=true
74
+
```
75
+
76
+
If firewall is enabled, it will read properties defined in `firewall.properties` file which easily can be modified by needs of setup.
77
+
78
+
```
79
+
#Set which HTTP header names should be allowed (if want to allow all header names, keep it empty)
80
+
allowedHeaderNames=
81
+
#Set which values in header names should have the exact value and allowed (if want to allow any values keep it empty)
82
+
allowedHeaderValues=
83
+
#Set which HTTP methods should be allowed (if want to allow all header names, keep it empty)
84
+
allowedMethods=GET,POST
85
+
#Set if a backslash "\" or a URL encoded backslash "%5C" should be allowed in the path or not
86
+
allowBackSlash=true
87
+
#Set if a slash "/" that is URL encoded "%2F" should be allowed in the path or not
88
+
allowUrlEncodedSlash=true
89
+
#Set if double slash "//" that is URL encoded "%2F%2F" should be allowed in the path or not
90
+
allowUrlEncodedDoubleSlash=true
91
+
#Set if semicolon is allowed in the URL (i.e. matrix variables)
92
+
allowSemicolon=true
93
+
#Set if a percent "%" that is URL encoded "%25" should be allowed in the path or not
94
+
allowUrlEncodedPercent=true
95
+
#if a period "." that is URL encoded "%2E" should be allowed in the path or not
96
+
allowUrlEncodedPeriod=true
97
+
```
98
+
*IMPORTANT:* If you're not an expert, the strong advice is to keep values at their default values. If you decide to change values, pay special attention to allowHeaderNames and allowHeaderValues, since those set values are exclusive and considered as only values that should be present in the header.
99
+
67
100
## How to Test
68
101
The reachability could be verified using the following endpoints:
0 commit comments