Skip to content

Commit 90f3748

Browse files
committed
Remove setting
1 parent 5d12145 commit 90f3748

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

content/en/docs/refguide/runtime/custom-settings/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ The following custom settings can be configured:
6666
| <a id="commendixcoreProcessedTasksCleanupBatchSize" href="#commendixcoreProcessedTasksCleanupBatchSize">com.<wbr>mendix.<wbr>core.<wbr>ProcessedTasksCleanupBatchSize</a> | This setting specifies how many System.<wbr>ProcessedQueueTask objects will be removed from the database each time the ProcessedTask cleanup action runs. See [Task Queue](/refguide/task-queue/#cleanup) for more details. | 10000 |
6767
| <a id="com.mendix.services.publish.AllowWebServiceUserBasicAuthenticationInODataAndREST" href="#com.mendix.services.publish.AllowWebServiceUserBasicAuthenticationInODataAndREST">com.mendix.services.publish.AllowWebServiceUserBasicAuthenticationInODataAndREST</a> | Set to `true` to allow web service users to access published [OData](/refguide/published-odata-services/) and [REST](/refguide/published-rest-services/) services when using basic authentication. | false |
6868
| <a id="EnableApacheCommonsLogging" href="#EnableApacheCommonsLogging">EnableApacheCommonsLogging</a> | Some libraries used by the Mendix runtime use [Apache Commons](https://commons.apache.org/) for logging. By default these log messages are suppressed. Set this value to `true` to receive the log messages from these libraries in the Mendix logs. | false |
69-
| <a id="EnableCors" href="#EnableCors">Client.EnableCors</a> | When set to `true`, the runtime will respond to [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) preflight `OPTIONS` requests on client-related request handlers. This is required when the Mendix client is accessed from a different domain. Use this setting in combination with the <a href="#Headers">Headers</a> runtime setting to specify the required CORS headers, such as `Access-Control-Allow-Origin`. See <a href="/refguide/configure-cors/">Configuring CORS</a> for more information. | false |
7069
| <a id="HashAlgorithm" href="#HashAlgorithm">HashAlgorithm</a> | Specifies the hash algorithm used to generate hash values for attributes of the HashString type, such as the password of a user. This setting overrides the setting in Studio Pro, see [Hash Algorithm](/refguide/runtime-tab/#hash-algorithm). Possible values are `BCRYPT`, `SSHA256`, `SHA256` (not recommended) and `MD5` (not recommended). To override the default BCrypt cost, you can specify `BCRYPT:cost`, where 'cost' is a number between 10 and 30. An example value is `BCRYPT:12`. | BCRYPT |
7170
| <a id="httpclientCleanupAfterSeconds" href="#httpclientCleanupAfterSeconds">http.<wbr>client.<wbr>CleanupAfterSeconds</a> | For the call REST service and call web service activities, the first request to a new host will create an HTTP client that will handle subsequent requests. When there are no new requests to the host for the specified time, the HTTP client will be cleaned up. A value of `0` means no cleanup.<br/>{{% alert color="warning" %}}If the infrastructure provider closes this connection before this cleanup time, you can receive a `java.net. SocketException: Connection reset` error. You can reduce this value to prevent this, or handle the error in your [REST call](/refguide/call-rest-action/#troubleshooting).{{% /alert %}} | 355 (355 seconds) |
7271
| <a id="httpclientMaxConnectionsPerRoute" href="#httpclientMaxConnectionsPerRoute">http.<wbr>client.<wbr>MaxConnectionsPerRoute</a> | The [maximum number of connections for a route](https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html#setMaxConnPerRoute(int)) for call REST service and call web service activities.<br/>{{% alert color="warning" %}}If your app uses these calls, it is strongly recommended that this value is increased. The default could prevent multiple end-users accessing the API simultaneously. A good value is around the number of concurrent users you expect, with a maximum of 250. The value of `http.client. MaxConnectionsTotal` may also need to increase.{{% /alert %}} | 2 |

content/en/docs/refguide/runtime/custom-settings/configure-cors.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Cross-Origin Resource Sharing (CORS) is a mechanism that allows a web applicatio
1111

1212
This document describes the custom runtime settings required to enable CORS in the Mendix Runtime.
1313

14+
{{% alert color="info" %}}
15+
16+
This feature is only supported in Mendix 11.9 and later.
17+
18+
{{% /alert %}}
19+
1420
## Settings to Configure {#settings}
1521

1622
To enable CORS, configure the following custom runtime settings. For general information on how to set custom runtime settings, see [Runtime Customization](/refguide/custom-settings/).
@@ -20,7 +26,6 @@ To enable CORS, configure the following custom runtime settings. For general inf
2026
| Name | Value | Description |
2127
| --- | --- | --- |
2228
| `com.mendix.core.SameSiteCookies` | `None` | Allows cookie sharing between the runtime origin and the client origin. This is required for cross-origin authentication to work correctly. |
23-
| `Client.EnableCors` | `true` | When enabled, the runtime responds to CORS preflight (`OPTIONS`) requests from the browser. |
2429

2530
### Custom HTTP Response Headers
2631

@@ -44,7 +49,6 @@ The following example shows how to configure CORS in an `m2ee.yaml` file. Replac
4449
```yaml
4550
mxruntime:
4651
com.mendix.core.SameSiteCookies: None
47-
Client.EnableCors: true
4852
Headers:
4953
"Access-Control-Allow-Credentials": "true"
5054
"Access-Control-Allow-Headers": "Content-Type, x-csrf-token"

0 commit comments

Comments
 (0)