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 |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 13 | ## mail settings |
| 14 | mail.enabled = false |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 15 | |
| 16 | ## server |
| 17 | server.port=8089 |
| 18 | server.host=localhost |
| 19 | |
| 20 | ## default layers |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 21 | default.layer.p = tt |
| 22 | default.layer.l = tt |
| 23 | default.layer.o = opennlp |
| 24 | default.layer.d = mate |
| 25 | default.layer.c = corenlp |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 26 | |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 27 | ## delete configuration (default hard) |
| 28 | # delete.auto.group = hard |
| 29 | delete.group = soft |
| 30 | delete.group.member = soft |
| 31 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 32 | ## availability regex |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 33 | ## only support | |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 34 | availability.regex.free = CC-BY.* |
margaretha | ad618d2 | 2017-12-11 19:58:49 +0100 | [diff] [blame] | 35 | availability.regex.public = ACA.* | QAO-NC |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 36 | availability.regex.all = QAO.* |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 37 | |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 38 | kustvakt.management.registration=enable |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 39 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 40 | ## options referring to the security module! |
| 41 | |
| 42 | ## token expiration time in minutes! |
| 43 | security.longTokenTTL = 1D |
| 44 | security.tokenTTL = 9S |
| 45 | security.shortTokenTTL = 5S |
| 46 | |
margaretha | f18298b | 2017-09-14 22:14:32 +0200 | [diff] [blame] | 47 | kustvakt.security.jwt.issuer=korap.ids-mannheim.de |
| 48 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 49 | ## specifies the user data field that is used to salt user passwords |
margaretha | f18298b | 2017-09-14 22:14:32 +0200 | [diff] [blame] | 50 | security.passcode.salt=salt |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 51 | |
| 52 | security.idleTimeoutDuration = 25M |
| 53 | security.multipleLogIn = true |
| 54 | security.loginAttemptNum = 3 |
| 55 | security.authAttemptTTL = 45M |
| 56 | |
| 57 | security.encryption.loadFactor = 8 |
| 58 | security.validation.stringLength = 150 |
| 59 | security.validation.emailLength = 50 |
| 60 | security.encryption.algo=BCRYPT |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 61 | security.sharedSecret=testSecret |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 62 | |
| 63 | ## applicable: rewrite, foundry, filter, deny |
| 64 | security.rewrite.strategies=filter, foundry, rewrite |