margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 1 | ## index dir |
margaretha | cfea1ae | 2018-01-15 20:27:26 +0100 | [diff] [blame^] | 2 | krill.indexDir = ../sample-index |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 3 | |
| 4 | krill.index.commit.count = 134217000 |
| 5 | krill.index.commit.log = log/krill.commit.log |
| 6 | krill.index.commit.auto = 500 |
| 7 | krill.index.relations.max = 100 |
| 8 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 9 | #LDAP |
| 10 | ldap.config = file-path-to-ldap-config |
| 11 | |
| 12 | # Kustvakt |
| 13 | |
| 14 | ## server |
| 15 | server.port=8089 |
| 16 | server.host=localhost |
| 17 | |
| 18 | ## default layers |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 19 | default.layer.p = tt |
| 20 | default.layer.l = tt |
| 21 | default.layer.o = opennlp |
| 22 | default.layer.d = mate |
| 23 | default.layer.c = corenlp |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 24 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 25 | ## availability regex |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 26 | ## only support | |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 27 | availability.regex.free = CC-BY.* |
margaretha | ad618d2 | 2017-12-11 19:58:49 +0100 | [diff] [blame] | 28 | availability.regex.public = ACA.* | QAO-NC |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 29 | availability.regex.all = QAO.* |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 30 | |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 31 | kustvakt.management.registration=enable |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 32 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 33 | ## options referring to the security module! |
| 34 | |
| 35 | ## token expiration time in minutes! |
| 36 | security.longTokenTTL = 1D |
| 37 | security.tokenTTL = 9S |
| 38 | security.shortTokenTTL = 5S |
| 39 | |
margaretha | f18298b | 2017-09-14 22:14:32 +0200 | [diff] [blame] | 40 | kustvakt.security.jwt.issuer=korap.ids-mannheim.de |
| 41 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 42 | ## specifies the user data field that is used to salt user passwords |
margaretha | f18298b | 2017-09-14 22:14:32 +0200 | [diff] [blame] | 43 | security.passcode.salt=salt |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 44 | |
| 45 | security.idleTimeoutDuration = 25M |
| 46 | security.multipleLogIn = true |
| 47 | security.loginAttemptNum = 3 |
| 48 | security.authAttemptTTL = 45M |
| 49 | |
| 50 | security.encryption.loadFactor = 8 |
| 51 | security.validation.stringLength = 150 |
| 52 | security.validation.emailLength = 50 |
| 53 | security.encryption.algo=BCRYPT |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 54 | security.sharedSecret=testSecret |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 55 | |
| 56 | ## applicable: rewrite, foundry, filter, deny |
| 57 | security.rewrite.strategies=filter, foundry, rewrite |