blob: 7818711040a93e3370f3bd96b8c15fa3dd2ae3ad [file] [log] [blame]
margarethafbfe2872024-01-04 23:29:28 +01001# Krill settings
2#
3krill.indexDir = sample-index
4
5krill.index.commit.count = 134217000
6krill.index.commit.log = log/krill.commit.log
7krill.index.commit.auto = 500
8krill.index.relations.max = 100
9# Directory path of virtual corpora to cache
10krill.namedVC = vc
11krill.test = true
12
margaretha46e2c952024-05-23 09:09:54 +020013krill.match.max.token=50
14krill.context.max.token=60
15
margarethafbfe2872024-01-04 23:29:28 +010016# LDAP configuration file
17#
18ldap.config = src/test/resources/test-ldap.conf
19
20# Kustvakt versions
21#
margarethacdd26e62024-07-12 12:40:26 +020022# multiple versions comma separated
margarethafbfe2872024-01-04 23:29:28 +010023current.api.version = v1.0
margarethacdd26e62024-07-12 12:40:26 +020024supported.api.versions = v0.1, v1.0
margarethafbfe2872024-01-04 23:29:28 +010025
26# Server
27#
28server.port=8089
29server.host=localhost
30
margarethae6ebfbc2024-10-07 08:39:42 +020031## Cache
32cache.total.results.enabled = true
33
margarethafbfe2872024-01-04 23:29:28 +010034# Default foundries for specific layers (optional)
35#
36default.foundry.partOfSpeech = tt
37default.foundry.lemma = tt
38default.foundry.orthography = opennlp
39default.foundry.dependency = malt
40default.foundry.constituent = corenlp
41default.foundry.morphology = marmot
42default.foundry.surface = base
43
44# Delete configuration (default hard)
45#
46# delete.auto.group = hard
margaretha291cf402024-07-18 09:49:15 +020047#delete.group = soft
margarethafbfe2872024-01-04 23:29:28 +010048delete.group.member = soft
49
50# Virtual corpus and queries
51max.user.persistent.queries = 5
52
53# Availability regex only support |
54# It should be removed/commented when the data doesn't contain availability field.
55#
Marc Kupietze4528ee2024-07-04 16:28:37 +020056availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010057availability.regex.public = ACA.*|QAO-NC
58availability.regex.all = QAO.*
59
60
margarethafbfe2872024-01-04 23:29:28 +010061# options referring to the security module!
62
63# OAuth
64# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
65# oauth.password.authentication values)
66#
67oauth2.password.authentication = TEST
68oauth2.native.client.host = korap.ids-mannheim.de
69oauth2.max.attempts = 2
70# expiry in seconds (S), minutes (M), hours (H), days (D)
71oauth2.access.token.expiry = 3M
72oauth2.refresh.token.expiry = 90D
73oauth2.authorization.code.expiry = 10M
74# -- scopes separated by space
75oauth2.default.scopes = search match_info
76oauth2.client.credentials.scopes = client_info
77
78oauth2.initial.super.client=true
79
80
81# see SecureRandom Number Generation Algorithms
82# optional
83security.secure.random.algorithm=SHA1PRNG
84
85# see MessageDigest Algorithms
86# default MD5
87security.md.algoritm = SHA-256
88
89# secure hash support: BCRYPT
90security.secure.hash.algorithm=BCRYPT
91security.encryption.loadFactor = 10
92
93# DEPRECATED
94# JWT
95security.jwt.issuer=https://korap.ids-mannheim.de
96security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
97
98# token expiration time
99security.longTokenTTL = 1D
100security.tokenTTL = 2S
101security.shortTokenTTL = 1S
102
103# Session authentication
104security.idleTimeoutDuration = 25M
105security.multipleLogIn = true
106security.loginAttemptNum = 3
107security.authAttemptTTL = 45M