blob: daf0e9adaada60ed89e76ae017975df11f15f36d [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
Marc Kupietz805afde2020-03-24 09:08:50 +010015api.welcome.message = Welcome to KorAP API!
margaretha2ea9a1e2019-01-11 16:37:21 +010016current.api.version = v1.0
margarethaee0cbfe2018-08-28 17:47:14 +020017# multiple versions separated by space
margaretha2ea9a1e2019-01-11 16:37:21 +010018# supported.api.version = v1.0
margarethaee0cbfe2018-08-28 17:47:14 +020019
margarethaaecee1b2018-02-20 14:44:21 +010020## server
21server.port=8089
22server.host=localhost
23
margaretha58e18632018-02-15 13:04:42 +010024## mail settings
25mail.enabled = false
margarethaa86b1412018-02-21 20:40:35 +010026mail.receiver = test@localhost
margarethaaecee1b2018-02-20 14:44:21 +010027mail.sender = noreply@ids-mannheim.de
margaretha7d0165c2018-02-26 15:31:37 +010028mail.address.retrieval = test
margaretha58e18632018-02-15 13:04:42 +010029
margarethaa86b1412018-02-21 20:40:35 +010030## mail.templates
31template.group.invitation = notification.vm
32
margaretha4fa4b062019-01-28 19:43:30 +010033## default foundries for specific layers
34default.foundry.partOfSpeech = tt
35default.foundry.lemma = tt
36default.foundry.orthography = opennlp
37default.foundry.dependency = malt
38default.foundry.constituent = corenlp
39default.foundry.morphology = marmot
margaretha798e8bd2019-02-06 15:48:58 +010040default.foundry.surface = base
margarethac38c8562017-11-21 19:02:08 +010041
margaretha2c019fa2018-02-01 19:50:51 +010042## delete configuration (default hard)
43# delete.auto.group = hard
44delete.group = soft
45delete.group.member = soft
46
margaretha56e8e552017-12-05 16:31:21 +010047## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010048## only support |
margarethac38c8562017-11-21 19:02:08 +010049availability.regex.free = CC-BY.*
margaretha351f7692019-02-06 19:36:52 +010050availability.regex.public = ACA.*|QAO.NC
margarethac38c8562017-11-21 19:02:08 +010051availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020052
margarethafc9e4072017-08-29 18:34:01 +020053## options referring to the security module!
54
margaretha6374f722018-04-17 18:45:57 +020055## OAuth
56### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
57### oauth.password.authentication values)
58oauth.password.authentication = TEST
margaretha2618beb2020-01-24 14:12:28 +010059### used to determine native client, currently not used
margarethabe4c5c92018-05-03 18:55:49 +020060oauth2.native.client.host = korap.ids-mannheim.de
margaretha064eb6f2018-07-10 18:33:01 +020061oauth2.max.attempts = 1
62# expiry in seconds (S), minutes (M), hours (H), days (D)
63oauth2.access.token.expiry = 1D
margaretha0afd44a2020-02-05 10:49:21 +010064oauth2.access.token.long.expiry = 365D
margaretha064eb6f2018-07-10 18:33:01 +020065oauth2.refresh.token.expiry = 90D
66oauth2.authorization.code.expiry = 10M
margarethabe4c5c92018-05-03 18:55:49 +020067# -- scopes separated by space
margaretha20f31232018-07-09 17:49:39 +020068oauth2.default.scopes = search match_info
margarethad7cab212018-07-02 19:01:43 +020069oauth2.client.credentials.scopes = client_info
margaretha6374f722018-04-17 18:45:57 +020070
margaretha33fa3d92018-07-26 13:50:17 +020071## see SecureRandom Number Generation Algorithms
margaretha4bd61252021-06-11 14:11:31 +020072## optional
73# security.secure.random.algorithm=SHA1PRNG
margaretha33fa3d92018-07-26 13:50:17 +020074
75## see MessageDigest Algorithms
76## default MD5
77security.md.algoritm = SHA-256
78
margaretha2618beb2020-01-24 14:12:28 +010079### secure hash support: BCRYPT
margaretha33fa3d92018-07-26 13:50:17 +020080security.secure.hash.algorithm=BCRYPT
margaretha2618beb2020-01-24 14:12:28 +010081security.encryption.loadFactor = 10
margarethafc9e4072017-08-29 18:34:01 +020082
margaretha2618beb2020-01-24 14:12:28 +010083# JWT
84security.jwt.issuer=korap.ids-mannheim.de
85security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
86
87## token expiration (used in other authentication provider than OAuth2)
88security.longTokenTTL=150D
89security.tokenTTL=72H
90security.shortTokenTTL=45M
91
92# Session authentication
margarethafc9e4072017-08-29 18:34:01 +020093security.idleTimeoutDuration = 25M
94security.multipleLogIn = true
95security.loginAttemptNum = 3
96security.authAttemptTTL = 45M
97
margaretha2618beb2020-01-24 14:12:28 +010098#EM: deprecated and not used
99#security.validation.stringLength = 150
100#security.validation.emailLength = 50