Experimental configuration parameters
| Property | Type | Description |
|---|---|---|
| unit.testing.folder | String | The folder used by the testing process. /okm:root/okmTesting |
| unit.testing.user | String | The user is used for unit testing. okmAdmin |
| unit.testing.password | String | The user’s password is used for unit testing. admin |
| unit.testing.url.base | String | The unit test URL. http://localhost:8080/OpenKM/ |
| rss.news | Boolean | Enable or disable the news on the login page. |
| rss.news.box.width | Integer | The width of the news box on the login page. 300 |
| rss.news.max.size | Integer | The maximum number of news items retrieved from the news server. 10 News is cached from the OpenKM server and refreshed once a day. That means any change to this parameter will take effect tomorrow after restarting the OpenKM service. |
| rss.news.visible | Integer | Number of visible news items at the same time. 1 |
| check.node.deletion.integrity | Boolean | Enable or disable the node deletion integrity check. |
| okm.content.security.policy | String | By default, embedding the application in an iframe is only allowed from the same origin, which is required because it is used in the web UI. This is the default value: frame-ancestors ‘self’ The next sample shows how to enable other domains: frame-ancestors ‘self’ http://example.com The configuration parameter must be set in the openkm.properties file, and the OpenKM service must be restarted to take effect. More information about content security policy https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy |
| okm.cors.configuration.policy | String | By default, CORS is enabled for all origins, methods, and headers. This is the default value: [{“path”:“/rest/**”, “origins”:[“*”], “methods”:[“*”], “headers”:[“*”]}, {“path”:“/**”, “origins”:[“*”], “methods”:[“*”], “headers”:[“*”]}] The next sample shows how to only enable access to the REST API for several domains and disable others. [{“path”:“/rest/**”, “origins”:[“http://domain.com","https://domain.com","http://domain2.com","https://domain2.com"\], “methods”:[“*”], “headers”:[“*”]}, {“path”:“/**”, “origins”:[“http://localhost"\], “methods”:[“*”], “headers”:[“*”]}] The configuration parameter must be set in the openkm.properties file, and the OpenKM service must be restarted to take effect. The String value is a list of objects in JSON format. The order of these rules is relevant because internally the first match will be applied, which means the path “/**” should always be applied at the end. More information about CORS at https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS |
| ldap.ignore.partial.result.exception | Boolean | When AD integration is enabled, warnings of PartialResultException are shown in the log. When true, these warnings are not shown in the log. true |
| rest.client.call.timeout | String | Set the maximum request timeout in seconds when the OpenKM application makes a REST request to a third-party application. For example, a jbpm-console request. 15 |