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