blob: 0d261dccb0e2ba0c177f8363f84d7cfe8c153fd6 [file] [log] [blame]
margarethafbfe2872024-01-04 23:29:28 +01001#Krill
2krill.indexDir= sample-index
3
4krill.index.commit.count = 134217000
5krill.index.commit.log = log/krill.commit.log
6krill.index.commit.auto = 500
7krill.index.relations.max = 100
8# Directory path of virtual corpora to cache
margaretha390f37d2024-04-22 12:07:34 +02009#krill.namedVC = data/vc
margarethafbfe2872024-01-04 23:29:28 +010010
11# LDAP
12ldap.config = src/main/resources/embedded-ldap-example.conf
13
14# Kustvakt
15api.welcome.message = Welcome to KorAP API!
16current.api.version = v1.0
margarethacdd26e62024-07-12 12:40:26 +020017# multiple versions comma separated
18# supported.api.versions = v1.0
margarethafbfe2872024-01-04 23:29:28 +010019
20# server
21server.port=8089
22server.host=localhost
23
margarethaca9a3242025-06-24 09:11:50 +020024# Pipe (optional)
25# pipe.host=https://korap.ids-mannheim.de (default)
26
margarethafbfe2872024-01-04 23:29:28 +010027# default foundries for specific layers
28default.foundry.partOfSpeech = tt
29default.foundry.lemma = tt
30default.foundry.orthography = opennlp
31default.foundry.dependency = malt
32default.foundry.constituent = corenlp
33default.foundry.morphology = marmot
34default.foundry.surface = base
35
margarethafbfe2872024-01-04 23:29:28 +010036
37# Availability regex only support |
38# It should be removed/commented when the data doesn't contain availability field.
39#
Marc Kupietze4528ee2024-07-04 16:28:37 +020040availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010041availability.regex.public = ACA.*|QAO-NC
42availability.regex.all = QAO.*
43
margarethafbfe2872024-01-04 23:29:28 +010044# options referring to the security module!
45
46# OAuth
47# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
48# oauth.password.authentication values)
49oauth2.password.authentication = LDAP
50# used to determine native client, currently not used
51# oauth2.native.client.host = korap.ids-mannheim.de
52oauth2.max.attempts = 1
53# expiry in seconds (S), minutes (M), hours (H), days (D)
54oauth2.access.token.expiry = 1D
55oauth2.refresh.token.expiry = 90D
56# default 365D
57# oauth2.access.token.long.expiry = 365D
58# oauth2.refresh.token.long.expiry = 365D
59oauth2.authorization.code.expiry = 10M
60# scopes separated by space
61oauth2.default.scopes = search match_info
62oauth2.client.credentials.scopes = client_info
63
64## see SecureRandom Number Generation Algorithms
65## optional
66# security.secure.random.algorithm=SHA1PRNG
67
68## see MessageDigest Algorithms
69## default MD5
70security.md.algoritm = SHA-256
71
72### secure hash support: BCRYPT
73security.secure.hash.algorithm=BCRYPT
74security.encryption.loadFactor = 10
75
76# DEPRECATED
77# JWT
78security.jwt.issuer=korap.ids-mannheim.de
79security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
80
81## token expiration (used in other authentication provider than OAuth2)
82security.longTokenTTL=150D
83security.tokenTTL=72H
84security.shortTokenTTL=45M
85
86# Session authentication
87security.idleTimeoutDuration = 25M
88security.multipleLogIn = true
89security.loginAttemptNum = 3
90security.authAttemptTTL = 45M