blob: 6185b293532d0957fe9e834a11e48d3f3faf85b8 [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
margarethafbfe2872024-01-04 23:29:28 +010031# Default foundries for specific layers (optional)
32#
33default.foundry.partOfSpeech = tt
34default.foundry.lemma = tt
35default.foundry.orthography = opennlp
36default.foundry.dependency = malt
37default.foundry.constituent = corenlp
38default.foundry.morphology = marmot
39default.foundry.surface = base
40
41# Delete configuration (default hard)
42#
43# delete.auto.group = hard
margaretha291cf402024-07-18 09:49:15 +020044#delete.group = soft
margarethafbfe2872024-01-04 23:29:28 +010045delete.group.member = soft
46
47# Virtual corpus and queries
48max.user.persistent.queries = 5
49
50# Availability regex only support |
51# It should be removed/commented when the data doesn't contain availability field.
52#
Marc Kupietze4528ee2024-07-04 16:28:37 +020053availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010054availability.regex.public = ACA.*|QAO-NC
55availability.regex.all = QAO.*
56
57
margarethafbfe2872024-01-04 23:29:28 +010058# options referring to the security module!
59
60# OAuth
61# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
62# oauth.password.authentication values)
63#
64oauth2.password.authentication = TEST
65oauth2.native.client.host = korap.ids-mannheim.de
66oauth2.max.attempts = 2
67# expiry in seconds (S), minutes (M), hours (H), days (D)
68oauth2.access.token.expiry = 3M
69oauth2.refresh.token.expiry = 90D
70oauth2.authorization.code.expiry = 10M
71# -- scopes separated by space
72oauth2.default.scopes = search match_info
73oauth2.client.credentials.scopes = client_info
74
75oauth2.initial.super.client=true
76
77
78# see SecureRandom Number Generation Algorithms
79# optional
80security.secure.random.algorithm=SHA1PRNG
81
82# see MessageDigest Algorithms
83# default MD5
84security.md.algoritm = SHA-256
85
86# secure hash support: BCRYPT
87security.secure.hash.algorithm=BCRYPT
88security.encryption.loadFactor = 10
89
90# DEPRECATED
91# JWT
92security.jwt.issuer=https://korap.ids-mannheim.de
93security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
94
95# token expiration time
96security.longTokenTTL = 1D
97security.tokenTTL = 2S
98security.shortTokenTTL = 1S
99
100# Session authentication
101security.idleTimeoutDuration = 25M
102security.multipleLogIn = true
103security.loginAttemptNum = 3
104security.authAttemptTTL = 45M