blob: 965eb4cc41832450a93ebd0a5dcce7141f6547ed [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
16# multiple versions separated by space
17current.api.version = v1.0
18supported.api.version = v0.1 v1.0
19
20# server
21server.port=8089
22server.host=localhost
23
24# mail settings
25mail.enabled = false
26mail.receiver = test@localhost
27mail.sender = noreply@ids-mannheim.de
28mail.address.retrieval = test
29
30# mail.templates
31template.group.invitation = notification.vm
32
33# default foundries for specific layers
34default.foundry.partOfSpeech = tt
35default.foundry.lemma = tt
36default.foundry.orthography = opennlp
37default.foundry.dependency = malt
38default.foundry.constituent = corenlp
39default.foundry.morphology = marmot
40default.foundry.surface = base
41
42# delete configuration (default hard)
43# delete.auto.group = hard
44delete.group = soft
45delete.group.member = soft
46
47
48# availability regex only support |
49# It should be removed/commented when the data doesn't contain availability field.
50#
Marc Kupietze4528ee2024-07-04 16:28:37 +020051# availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010052# availability.regex.public = ACA.*|QAO-NC
53# availability.regex.all = QAO.*
54
55
56# Define resource filters for search and match info web-services
57#
58# AuthenticationFilter activates authentication using OAuth2 tokens
59# DemoUserFilter allows access to the services without login
60#
61# Default values: AuthenticationFilter,DemoUserFilter
62#
margaretha7cb68a12024-07-11 12:28:22 +020063#search.resource.filters=AuthenticationFilter
64login.required = true
margarethafbfe2872024-01-04 23:29:28 +010065
66
67# options referring to the security module!
68
69# OAuth
70# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
71# oauth.password.authentication values)
72oauth2.password.authentication = TEST
73oauth2.native.client.host = korap.ids-mannheim.de
74oauth2.max.attempts = 2
75# expiry in seconds (S), minutes (M), hours (H), days (D)
76oauth2.access.token.expiry = 3M
77oauth2.refresh.token.expiry = 90D
78oauth2.authorization.code.expiry = 10M
79# -- scopes separated by space
80oauth2.default.scopes = search match_info
81oauth2.client.credentials.scopes = client_info
82
83oauth2.initial.super.client=true
84
85# see SecureRandom Number Generation Algorithms
86# optional
87security.secure.random.algorithm=SHA1PRNG
88
89# see MessageDigest Algorithms
90# default MD5
91security.md.algoritm = SHA-256
92
93# secure hash support: BCRYPT
94security.secure.hash.algorithm=BCRYPT
95security.encryption.loadFactor = 10
96
97
98# DEPRECATED
99# JWT
100security.jwt.issuer=https://korap.ids-mannheim.de
101security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
102
103# token expiration time
104security.longTokenTTL = 1D
105security.tokenTTL = 2S
106security.shortTokenTTL = 1S