blob: 082817dbf9230c13e60df05cc5f12d57eff784b9 [file] [log] [blame]
margarethafc9e4072017-08-29 18:34:01 +02001## index dir
margarethaf68daa62017-09-21 02:11:24 +02002krill.indexDir = /home/elma/git/Kustvakt-new/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
margaretha56e8e552017-12-05 16:31:21 +010025## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010026## only support |
margarethac38c8562017-11-21 19:02:08 +010027availability.regex.free = CC-BY.*
margarethaad618d22017-12-11 19:58:49 +010028availability.regex.public = ACA.* | QAO-NC
margarethac38c8562017-11-21 19:02:08 +010029availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020030
margarethac38c8562017-11-21 19:02:08 +010031kustvakt.management.registration=enable
margarethafc9e4072017-08-29 18:34:01 +020032
margarethafc9e4072017-08-29 18:34:01 +020033## options referring to the security module!
34
35## token expiration time in minutes!
36security.longTokenTTL = 1D
37security.tokenTTL = 9S
38security.shortTokenTTL = 5S
39
margarethaf18298b2017-09-14 22:14:32 +020040kustvakt.security.jwt.issuer=korap.ids-mannheim.de
41
margarethafc9e4072017-08-29 18:34:01 +020042## specifies the user data field that is used to salt user passwords
margarethaf18298b2017-09-14 22:14:32 +020043security.passcode.salt=salt
margarethafc9e4072017-08-29 18:34:01 +020044
45security.idleTimeoutDuration = 25M
46security.multipleLogIn = true
47security.loginAttemptNum = 3
48security.authAttemptTTL = 45M
49
50security.encryption.loadFactor = 8
51security.validation.stringLength = 150
52security.validation.emailLength = 50
53security.encryption.algo=BCRYPT
margarethadfecb4b2017-12-12 19:32:30 +010054security.sharedSecret=testSecret
margarethafc9e4072017-08-29 18:34:01 +020055
56## applicable: rewrite, foundry, filter, deny
57security.rewrite.strategies=filter, foundry, rewrite