blob: ec540f9fd079080af8792ce5721eb026b4f4c77d [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
margaretha51e5e3f2018-10-17 15:10:03 +02009#krill.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
margaretha2ea9a1e2019-01-11 16:37:21 +010015current.api.version = v1.0
margarethaee0cbfe2018-08-28 17:47:14 +020016# multiple versions separated by space
margaretha2ea9a1e2019-01-11 16:37:21 +010017# supported.api.version = v1.0
margarethaee0cbfe2018-08-28 17:47:14 +020018
margarethaaecee1b2018-02-20 14:44:21 +010019## server
20server.port=8089
21server.host=localhost
22
margaretha58e18632018-02-15 13:04:42 +010023## mail settings
24mail.enabled = false
margarethaa86b1412018-02-21 20:40:35 +010025mail.receiver = test@localhost
margarethaaecee1b2018-02-20 14:44:21 +010026mail.sender = noreply@ids-mannheim.de
margaretha7d0165c2018-02-26 15:31:37 +010027mail.address.retrieval = test
margaretha58e18632018-02-15 13:04:42 +010028
margarethaa86b1412018-02-21 20:40:35 +010029## mail.templates
30template.group.invitation = notification.vm
31
margaretha4fa4b062019-01-28 19:43:30 +010032## default foundries for specific layers
33default.foundry.partOfSpeech = tt
34default.foundry.lemma = tt
35default.foundry.orthography = opennlp
36default.foundry.dependency = malt
37default.foundry.constituent = corenlp
38default.foundry.morphology = marmot
margarethac38c8562017-11-21 19:02:08 +010039
margaretha2c019fa2018-02-01 19:50:51 +010040## delete configuration (default hard)
41# delete.auto.group = hard
42delete.group = soft
43delete.group.member = soft
44
margaretha56e8e552017-12-05 16:31:21 +010045## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010046## only support |
margarethac38c8562017-11-21 19:02:08 +010047availability.regex.free = CC-BY.*
margarethaad618d22017-12-11 19:58:49 +010048availability.regex.public = ACA.* | QAO.NC
margarethac38c8562017-11-21 19:02:08 +010049availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020050
margarethafc9e4072017-08-29 18:34:01 +020051## options referring to the security module!
52
margaretha6374f722018-04-17 18:45:57 +020053## OAuth
54### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
55### oauth.password.authentication values)
56oauth.password.authentication = TEST
margarethabe4c5c92018-05-03 18:55:49 +020057oauth2.native.client.host = korap.ids-mannheim.de
margaretha064eb6f2018-07-10 18:33:01 +020058oauth2.max.attempts = 1
59# expiry in seconds (S), minutes (M), hours (H), days (D)
60oauth2.access.token.expiry = 1D
61oauth2.refresh.token.expiry = 90D
62oauth2.authorization.code.expiry = 10M
margarethabe4c5c92018-05-03 18:55:49 +020063# -- scopes separated by space
margaretha20f31232018-07-09 17:49:39 +020064oauth2.default.scopes = search match_info
margarethad7cab212018-07-02 19:01:43 +020065oauth2.client.credentials.scopes = client_info
margaretha6374f722018-04-17 18:45:57 +020066
67# JWT
68security.jwt.issuer=korap.ids-mannheim.de
69
70## token expiration
margarethafc9e4072017-08-29 18:34:01 +020071security.longTokenTTL=150D
72security.tokenTTL=72H
73security.shortTokenTTL=45M
74
margaretha33fa3d92018-07-26 13:50:17 +020075## see SecureRandom Number Generation Algorithms
76## default SHA1PRNG
77security.secure.random.algorithm=SHA1PRNG
78
79## see MessageDigest Algorithms
80## default MD5
81security.md.algoritm = SHA-256
82
83### secure hash support: BCRYPT, ESAPICYPHER
84security.secure.hash.algorithm=BCRYPT
margarethafc9e4072017-08-29 18:34:01 +020085security.passcode.salt=salt
86
87security.idleTimeoutDuration = 25M
88security.multipleLogIn = true
89security.loginAttemptNum = 3
90security.authAttemptTTL = 45M
91
92security.encryption.loadFactor = 8
93security.validation.stringLength = 150
94security.validation.emailLength = 50
margarethae4034a82018-07-02 14:46:59 +020095security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
margarethafc9e4072017-08-29 18:34:01 +020096security.adminToken=adminToken
97
98## applicable: rewrite, foundry, filter, deny
99security.rewrite.strategies=filter, foundry, rewrite