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