blob: 3d5eadd0d2b04ffc25dd5651ffac16a22cd468c1 [file] [log] [blame]
margarethafc9e4072017-08-29 18:34:01 +02001## index dir
margarethacfea1ae2018-01-15 20:27:26 +01002krill.indexDir = ../sample-index
margarethafc9e4072017-08-29 18:34:01 +02003
4krill.index.commit.count = 134217000
5krill.index.commit.log = log/krill.commit.log
6krill.index.commit.auto = 500
7krill.index.relations.max = 100
8
margaretha56e8e552017-12-05 16:31:21 +01009#LDAP
10ldap.config = file-path-to-ldap-config
11
12# Kustvakt
13
14## server
15server.port=8089
16server.host=localhost
17
18## default layers
margarethac38c8562017-11-21 19:02:08 +010019default.layer.p = tt
20default.layer.l = tt
21default.layer.o = opennlp
22default.layer.d = mate
23default.layer.c = corenlp
margarethafc9e4072017-08-29 18:34:01 +020024
margaretha2c019fa2018-02-01 19:50:51 +010025## delete configuration (default hard)
26# delete.auto.group = hard
27delete.group = soft
28delete.group.member = soft
29
margaretha56e8e552017-12-05 16:31:21 +010030## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010031## only support |
margarethac38c8562017-11-21 19:02:08 +010032availability.regex.free = CC-BY.*
margarethaad618d22017-12-11 19:58:49 +010033availability.regex.public = ACA.* | QAO-NC
margarethac38c8562017-11-21 19:02:08 +010034availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020035
margarethac38c8562017-11-21 19:02:08 +010036kustvakt.management.registration=enable
margarethafc9e4072017-08-29 18:34:01 +020037
margarethafc9e4072017-08-29 18:34:01 +020038## options referring to the security module!
39
40## token expiration time in minutes!
41security.longTokenTTL = 1D
42security.tokenTTL = 9S
43security.shortTokenTTL = 5S
44
margarethaf18298b2017-09-14 22:14:32 +020045kustvakt.security.jwt.issuer=korap.ids-mannheim.de
46
margarethafc9e4072017-08-29 18:34:01 +020047## specifies the user data field that is used to salt user passwords
margarethaf18298b2017-09-14 22:14:32 +020048security.passcode.salt=salt
margarethafc9e4072017-08-29 18:34:01 +020049
50security.idleTimeoutDuration = 25M
51security.multipleLogIn = true
52security.loginAttemptNum = 3
53security.authAttemptTTL = 45M
54
55security.encryption.loadFactor = 8
56security.validation.stringLength = 150
57security.validation.emailLength = 50
58security.encryption.algo=BCRYPT
margarethadfecb4b2017-12-12 19:32:30 +010059security.sharedSecret=testSecret
margarethafc9e4072017-08-29 18:34:01 +020060
61## applicable: rewrite, foundry, filter, deny
62security.rewrite.strategies=filter, foundry, rewrite