margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 1 | ## index dir |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 2 | krill.indexDir = /home/elma/git/Kustvakt-new/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 | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 26 | availability.regex.free = CC-BY.* |
| 27 | availability.regex.public = ACA.* |
| 28 | availability.regex.all = QAO.* |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 29 | |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 30 | kustvakt.management.registration=enable |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 31 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 32 | ## options referring to the security module! |
| 33 | |
| 34 | ## token expiration time in minutes! |
| 35 | security.longTokenTTL = 1D |
| 36 | security.tokenTTL = 9S |
| 37 | security.shortTokenTTL = 5S |
| 38 | |
margaretha | f18298b | 2017-09-14 22:14:32 +0200 | [diff] [blame] | 39 | kustvakt.security.jwt.issuer=korap.ids-mannheim.de |
| 40 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 41 | ## specifies the user data field that is used to salt user passwords |
margaretha | f18298b | 2017-09-14 22:14:32 +0200 | [diff] [blame] | 42 | security.passcode.salt=salt |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 43 | |
| 44 | security.idleTimeoutDuration = 25M |
| 45 | security.multipleLogIn = true |
| 46 | security.loginAttemptNum = 3 |
| 47 | security.authAttemptTTL = 45M |
| 48 | |
| 49 | security.encryption.loadFactor = 8 |
| 50 | security.validation.stringLength = 150 |
| 51 | security.validation.emailLength = 50 |
| 52 | security.encryption.algo=BCRYPT |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 53 | |
| 54 | ## applicable: rewrite, foundry, filter, deny |
| 55 | security.rewrite.strategies=filter, foundry, rewrite |