blob: b135ca7885e1c3f4f9e2ec7cbf90b883f1d186ec [file] [log] [blame]
margarethafc9e4072017-08-29 18:34:01 +02001## index dir
margarethacfea1ae2018-01-15 20:27:26 +01002krill.indexDir = ../sample-index
margarethafc9e4072017-08-29 18:34:01 +02003
4krill.index.commit.count = 134217000
5krill.index.commit.log = log/krill.commit.log
6krill.index.commit.auto = 500
7krill.index.relations.max = 100
8
margaretha56e8e552017-12-05 16:31:21 +01009#LDAP
10ldap.config = file-path-to-ldap-config
11
12# Kustvakt
margaretha56e8e552017-12-05 16:31:21 +010013## server
14server.port=8089
15server.host=localhost
16
margarethaa86b1412018-02-21 20:40:35 +010017## mail settings
18mail.enabled = false
19mail.receiver = test@localhost
20mail.sender = noreply@ids-mannheim.de
margaretha7d0165c2018-02-26 15:31:37 +010021mail.address.retrieval = test
margarethaa86b1412018-02-21 20:40:35 +010022
23## mail.templates
24template.group.invitation = notification.vm
25
margaretha56e8e552017-12-05 16:31:21 +010026## default layers
margaretha6fca7292018-03-13 13:19:00 +010027default.layer.partOfSpeech = tt
28default.layer.lemma = tt
29default.layer.orthography = opennlp
30default.layer.dependency = mate
31default.layer.constituent = corenlp
margarethafc9e4072017-08-29 18:34:01 +020032
margaretha2c019fa2018-02-01 19:50:51 +010033## delete configuration (default hard)
34# delete.auto.group = hard
35delete.group = soft
36delete.group.member = soft
37
margaretha56e8e552017-12-05 16:31:21 +010038## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010039## only support |
margarethac38c8562017-11-21 19:02:08 +010040availability.regex.free = CC-BY.*
margarethaad618d22017-12-11 19:58:49 +010041availability.regex.public = ACA.* | QAO-NC
margarethac38c8562017-11-21 19:02:08 +010042availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020043
margarethafc9e4072017-08-29 18:34:01 +020044## options referring to the security module!
45
margaretha9c78e1a2018-06-27 14:12:35 +020046## OAuth
margaretha6374f722018-04-17 18:45:57 +020047### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
48### oauth.password.authentication values)
margaretha9c78e1a2018-06-27 14:12:35 +020049oauth2.password.authentication = TEST
50oauth2.native.client.host = korap.ids-mannheim.de
margarethabe4c5c92018-05-03 18:55:49 +020051oauth2.max.attempts = 2
52# -- scopes separated by space
margaretha9c78e1a2018-06-27 14:12:35 +020053oauth2.default.scopes = openid username email
54oauth2.client.credentials.scopes = client_info
55
56## OpenId
57### multiple values are separated by space
58openid.grant.types = authorization_code
59openid.response.types = code
60openid.response.modes = query
61openid.client.auth.methods = client_secret_basic client_secret_post
62openid.token.signing.algorithms = RS256
63openid.subject.types = public
64openid.display.types = page
margarethaa2ce63d2018-06-28 10:11:43 +020065openid.supported.scopes = openid email auth_time
margaretha9c78e1a2018-06-27 14:12:35 +020066openid.support.claim.param = false
67openid.claim.types = normal
68openid.supported.claims = iss sub aud exp iat
69openid.ui.locales = en
70#openid.privacy.policy =
71#openid.term.of.service =
72openid.service.doc = https://github.com/KorAP/Kustvakt/wiki
margaretha6374f722018-04-17 18:45:57 +020073
margaretha19295962018-06-26 16:00:47 +020074## JWT
margaretha9c78e1a2018-06-27 14:12:35 +020075security.jwt.issuer=https://korap.ids-mannheim.de
margaretha6374f722018-04-17 18:45:57 +020076
margaretha19295962018-06-26 16:00:47 +020077## JWK
78rsa.private = kustvakt_rsa.key
79rsa.public = kustvakt_rsa_public.key
80rsa.key.id = 74caa3a9-217c-49e6-94e9-2368fdd02c35
81
82## token expiration time
margarethafc9e4072017-08-29 18:34:01 +020083security.longTokenTTL = 1D
84security.tokenTTL = 9S
85security.shortTokenTTL = 5S
86
87## specifies the user data field that is used to salt user passwords
margarethaf18298b2017-09-14 22:14:32 +020088security.passcode.salt=salt
margarethafc9e4072017-08-29 18:34:01 +020089
90security.idleTimeoutDuration = 25M
91security.multipleLogIn = true
92security.loginAttemptNum = 3
93security.authAttemptTTL = 45M
94
95security.encryption.loadFactor = 8
96security.validation.stringLength = 150
97security.validation.emailLength = 50
98security.encryption.algo=BCRYPT
margarethae4034a82018-07-02 14:46:59 +020099security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
margarethafc9e4072017-08-29 18:34:01 +0200100
101## applicable: rewrite, foundry, filter, deny
102security.rewrite.strategies=filter, foundry, rewrite