Experimental configuration parameters

PropertyTypeDescription

unit.testing.folder

String

Folder used by testing process.

/okm:root/okmTesting

unit.testing.user

String

User used for unit testing.

okmAdmin

unit.testing.password

String

 Password of the user used for unit testing.

admin

unit.testing.url.base

String

 

The unit test URL.

http://localhost:8080/OpenKM/

extension.digicert.base.path

String

OpenKM base folder:

/okm:root/invoices

extension.digicert.keystore.file

String

Path of the keystore file.

/home/openkm/certificate.p12

extension.digicert.keystore.password

String

The password of the keystore.

extension.digicert.keystore.type

String

The keystore type ( JKS or PKCS12 )

JKS

extension.digicert.private.key.alias

String

The alias of the certificate.

b138bef79c0104378101b77b71922c61_9463f621-75bc-4ff7-b832-08ea82e57a16

extension.digicert.signature.algoritm

String

The algorithm of the certificate.

rsa

extension.digicert.type

String

Values can be "month" or "quarterly".

month

extension.digicert.upload.base.path

String

OpenKM path where the documents are upload.

/okm:root/invoices/upload

extension.digicert.validate.properties

String

 Metadata group fields.

okp:digicert.num.recepcion
okp:digicert.num.factura
okp:digicert.fecha.factura
okp:digicert.nif.emisor
okp:digicert.iva.general
okp:digicert.iva.reducido
okp:digicert.iva.superreducido
okp:digicert.base.general
okp:digicert.base.reducido
okp:digicert.base.superreducido
okp:digicert.base.siniva
okp:digicert.total
okp:digicert.year
okp:digicert.period

rss.news

Boolean

Enable or disable new in the login page.

rss.news.box.width

Integer

Width of the news box in the login page.

300

rss.news.max.size

Integer

Maximum number of news retrieved from the news server.

10

News are cached from OpenKM server and refreshed one time by day. That means any change on this parameter will take effect tomorrow or restarting OpenKM service.

rss.news.visible

Integer

Number of visible news at the same time.

1

check.node.deletion.integrity

Boolean

Enable or disable node deletion integrity check. For example, if the node is used in a workflow or any of their children can be deleted, in case of folders or records. By default is enabled, and you should only disable it in case of deletion of massive nodes.

okm.content.security.policy

String

By default embedding the application in an iframe is only allowed to the same origin, that's required because 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 restart the OpenKM service 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 to all the 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 to 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 restart the OpenKM service to take effect.

The String value is a list of objects in a json format. The order of these rules is relevant because internally the first match will be applied, that means the path "/**" should only be applied always 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 by default the warnings of PartialResultException are shown in the log. When true these warnings are not shown in the log.

true

okm.authentication.external.authentication

String

Enable the OpenKM external authentication. This feature allows the application to be authenticated by third-party authentication providers like OAUTH, Azure Cloud among others.

okm.authentication.external.authentication=http://localhost:8081/ext-auth

rest.client.call.timeout

String

Set the maximum request timeout in seconds when the OpenKM application does a REST request to third-party application. For example a jbpm-console request.

15

 

 
Table of contents [ Hide Show ]