blob: 9714955269119060be48126167db816c21be27e2 [file] [log] [blame]
margarethafbfe2872024-01-04 23:29:28 +01001# index dir
2krill.indexDir = wiki-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
9#krill.namedVC = vc
10krill.test = true
11
12# LDAP
13ldap.config = src/test/resources/test-ldap.conf
14
15# Kustvakt
margarethacdd26e62024-07-12 12:40:26 +020016# multiple versions comma separated
margarethafbfe2872024-01-04 23:29:28 +010017current.api.version = v1.0
margarethacdd26e62024-07-12 12:40:26 +020018supported.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 +020042# availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010043# availability.regex.public = ACA.*|QAO-NC
44# availability.regex.all = QAO.*
45
46
47# Define resource filters for search and match info web-services
48#
49# AuthenticationFilter activates authentication using OAuth2 tokens
50# DemoUserFilter allows access to the services without login
51#
52# Default values: AuthenticationFilter,DemoUserFilter
53#
margaretha7cb68a12024-07-11 12:28:22 +020054#search.resource.filters=AuthenticationFilter
55login.required = true
margarethafbfe2872024-01-04 23:29:28 +010056
57
58# options referring to the security module!
59
60# OAuth
61# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
62# oauth.password.authentication values)
63oauth2.password.authentication = TEST
64oauth2.native.client.host = korap.ids-mannheim.de
65oauth2.max.attempts = 2
66# expiry in seconds (S), minutes (M), hours (H), days (D)
67oauth2.access.token.expiry = 3M
68oauth2.refresh.token.expiry = 90D
69oauth2.authorization.code.expiry = 10M
70# -- scopes separated by space
71oauth2.default.scopes = search match_info
72oauth2.client.credentials.scopes = client_info
73
74oauth2.initial.super.client=true
75
76# see SecureRandom Number Generation Algorithms
77# optional
78security.secure.random.algorithm=SHA1PRNG
79
80# see MessageDigest Algorithms
81# default MD5
82security.md.algoritm = SHA-256
83
84# secure hash support: BCRYPT
85security.secure.hash.algorithm=BCRYPT
86security.encryption.loadFactor = 10
87
88
89# DEPRECATED
90# JWT
91security.jwt.issuer=https://korap.ids-mannheim.de
92security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
93
94# token expiration time
95security.longTokenTTL = 1D
96security.tokenTTL = 2S
97security.shortTokenTTL = 1S