blob: 0a1ddc347d454240ba5688e19317ba8ece5da4f1 [file] [log] [blame]
margaretha56e8e552017-12-05 16:31:21 +01001#Krill
margarethaf68daa62017-09-21 02:11:24 +02002krill.indexDir= ../sample-index
margarethafc9e4072017-08-29 18:34:01 +02003
4krill.index.commit.count = 134217000
5krill.index.commit.log = log/krill.commit.log
6krill.index.commit.auto = 500
7krill.index.relations.max = 100
margaretha1b320452018-08-02 16:56:25 +02008## Directory path of virtual corpora to cache
9krill.namedVC = vc
margarethafc9e4072017-08-29 18:34:01 +020010
margaretha56e8e552017-12-05 16:31:21 +010011## LDAP
12ldap.config = file-path-to-ldap-config
13
14# Kustvakt
margarethaee0cbfe2018-08-28 17:47:14 +020015# multiple versions separated by space
16supported.api.version = v0.1 v1.0
17
margarethaaecee1b2018-02-20 14:44:21 +010018## server
19server.port=8089
20server.host=localhost
21
margaretha58e18632018-02-15 13:04:42 +010022## mail settings
23mail.enabled = false
margarethaa86b1412018-02-21 20:40:35 +010024mail.receiver = test@localhost
margarethaaecee1b2018-02-20 14:44:21 +010025mail.sender = noreply@ids-mannheim.de
margaretha7d0165c2018-02-26 15:31:37 +010026mail.address.retrieval = test
margaretha58e18632018-02-15 13:04:42 +010027
margarethaa86b1412018-02-21 20:40:35 +010028## mail.templates
29template.group.invitation = notification.vm
30
margaretha56e8e552017-12-05 16:31:21 +010031## default layers
margaretha6fca7292018-03-13 13:19:00 +010032default.layer.partOfSpeech = tt
33default.layer.lemma = tt
34default.layer.orthography = opennlp
35default.layer.dependency = mate
36default.layer.constituent = corenlp
margarethac38c8562017-11-21 19:02:08 +010037
margaretha2c019fa2018-02-01 19:50:51 +010038## delete configuration (default hard)
39# delete.auto.group = hard
40delete.group = soft
41delete.group.member = soft
42
margaretha56e8e552017-12-05 16:31:21 +010043## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010044## only support |
margarethac38c8562017-11-21 19:02:08 +010045availability.regex.free = CC-BY.*
margarethaad618d22017-12-11 19:58:49 +010046availability.regex.public = ACA.* | QAO.NC
margarethac38c8562017-11-21 19:02:08 +010047availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020048
margarethafc9e4072017-08-29 18:34:01 +020049## options referring to the security module!
50
margaretha6374f722018-04-17 18:45:57 +020051## OAuth
52### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
53### oauth.password.authentication values)
54oauth.password.authentication = TEST
margarethabe4c5c92018-05-03 18:55:49 +020055oauth2.native.client.host = korap.ids-mannheim.de
margaretha064eb6f2018-07-10 18:33:01 +020056oauth2.max.attempts = 1
57# expiry in seconds (S), minutes (M), hours (H), days (D)
58oauth2.access.token.expiry = 1D
59oauth2.refresh.token.expiry = 90D
60oauth2.authorization.code.expiry = 10M
margarethabe4c5c92018-05-03 18:55:49 +020061# -- scopes separated by space
margaretha20f31232018-07-09 17:49:39 +020062oauth2.default.scopes = search match_info
margarethad7cab212018-07-02 19:01:43 +020063oauth2.client.credentials.scopes = client_info
margaretha6374f722018-04-17 18:45:57 +020064
65# JWT
66security.jwt.issuer=korap.ids-mannheim.de
67
68## token expiration
margarethafc9e4072017-08-29 18:34:01 +020069security.longTokenTTL=150D
70security.tokenTTL=72H
71security.shortTokenTTL=45M
72
margaretha33fa3d92018-07-26 13:50:17 +020073## see SecureRandom Number Generation Algorithms
74## default SHA1PRNG
75security.secure.random.algorithm=SHA1PRNG
76
77## see MessageDigest Algorithms
78## default MD5
79security.md.algoritm = SHA-256
80
81### secure hash support: BCRYPT, ESAPICYPHER
82security.secure.hash.algorithm=BCRYPT
margarethafc9e4072017-08-29 18:34:01 +020083security.passcode.salt=salt
84
85security.idleTimeoutDuration = 25M
86security.multipleLogIn = true
87security.loginAttemptNum = 3
88security.authAttemptTTL = 45M
89
90security.encryption.loadFactor = 8
91security.validation.stringLength = 150
92security.validation.emailLength = 50
margarethae4034a82018-07-02 14:46:59 +020093security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
margarethafc9e4072017-08-29 18:34:01 +020094security.adminToken=adminToken
95
96## applicable: rewrite, foundry, filter, deny
97security.rewrite.strategies=filter, foundry, rewrite