blob: 96a58237cd9f7f47a0c1593af792f2bb8a107635 [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
margarethafbfe2872024-01-04 23:29:28 +010024# default foundries for specific layers
25default.foundry.partOfSpeech = tt
26default.foundry.lemma = tt
27default.foundry.orthography = opennlp
28default.foundry.dependency = malt
29default.foundry.constituent = corenlp
30default.foundry.morphology = marmot
31default.foundry.surface = base
32
33# delete configuration (default hard)
34# delete.auto.group = hard
35delete.group = soft
36delete.group.member = soft
37
38
39# Availability regex only support |
40# It should be removed/commented when the data doesn't contain availability field.
41#
Marc Kupietze4528ee2024-07-04 16:28:37 +020042availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010043availability.regex.public = ACA.*|QAO-NC
44availability.regex.all = QAO.*
45
margarethafbfe2872024-01-04 23:29:28 +010046# options referring to the security module!
47
48# OAuth
49# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
50# oauth.password.authentication values)
51oauth2.password.authentication = LDAP
52# used to determine native client, currently not used
53# oauth2.native.client.host = korap.ids-mannheim.de
54oauth2.max.attempts = 1
55# expiry in seconds (S), minutes (M), hours (H), days (D)
56oauth2.access.token.expiry = 1D
57oauth2.refresh.token.expiry = 90D
58# default 365D
59# oauth2.access.token.long.expiry = 365D
60# oauth2.refresh.token.long.expiry = 365D
61oauth2.authorization.code.expiry = 10M
62# scopes separated by space
63oauth2.default.scopes = search match_info
64oauth2.client.credentials.scopes = client_info
65
66## see SecureRandom Number Generation Algorithms
67## optional
68# security.secure.random.algorithm=SHA1PRNG
69
70## see MessageDigest Algorithms
71## default MD5
72security.md.algoritm = SHA-256
73
74### secure hash support: BCRYPT
75security.secure.hash.algorithm=BCRYPT
76security.encryption.loadFactor = 10
77
78# DEPRECATED
79# JWT
80security.jwt.issuer=korap.ids-mannheim.de
81security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
82
83## token expiration (used in other authentication provider than OAuth2)
84security.longTokenTTL=150D
85security.tokenTTL=72H
86security.shortTokenTTL=45M
87
88# Session authentication
89security.idleTimeoutDuration = 25M
90security.multipleLogIn = true
91security.loginAttemptNum = 3
92security.authAttemptTTL = 45M