blob: 8690e4fbcf91c26b0f81658b18d29785cabd9960 [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
margaretha1b320452018-08-02 16:56:25 +02008## Directory path of virtual corpora to cache
9krill.namedVC = vc
margarethafc9e4072017-08-29 18:34:01 +020010
margaretha56e8e552017-12-05 16:31:21 +010011#LDAP
12ldap.config = file-path-to-ldap-config
13
14# Kustvakt
margaretha56e8e552017-12-05 16:31:21 +010015## server
16server.port=8089
17server.host=localhost
18
margarethaa86b1412018-02-21 20:40:35 +010019## mail settings
20mail.enabled = false
21mail.receiver = test@localhost
22mail.sender = noreply@ids-mannheim.de
margaretha7d0165c2018-02-26 15:31:37 +010023mail.address.retrieval = test
margarethaa86b1412018-02-21 20:40:35 +010024
25## mail.templates
26template.group.invitation = notification.vm
27
margaretha56e8e552017-12-05 16:31:21 +010028## default layers
margaretha6fca7292018-03-13 13:19:00 +010029default.layer.partOfSpeech = tt
30default.layer.lemma = tt
31default.layer.orthography = opennlp
32default.layer.dependency = mate
33default.layer.constituent = corenlp
margarethafc9e4072017-08-29 18:34:01 +020034
margaretha2c019fa2018-02-01 19:50:51 +010035## delete configuration (default hard)
36# delete.auto.group = hard
37delete.group = soft
38delete.group.member = soft
39
margaretha56e8e552017-12-05 16:31:21 +010040## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010041## only support |
margarethac38c8562017-11-21 19:02:08 +010042availability.regex.free = CC-BY.*
margarethaad618d22017-12-11 19:58:49 +010043availability.regex.public = ACA.* | QAO-NC
margarethac38c8562017-11-21 19:02:08 +010044availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020045
margarethafc9e4072017-08-29 18:34:01 +020046## options referring to the security module!
47
margaretha9c78e1a2018-06-27 14:12:35 +020048## OAuth
margaretha6374f722018-04-17 18:45:57 +020049### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
50### oauth.password.authentication values)
margaretha9c78e1a2018-06-27 14:12:35 +020051oauth2.password.authentication = TEST
52oauth2.native.client.host = korap.ids-mannheim.de
margarethabe4c5c92018-05-03 18:55:49 +020053oauth2.max.attempts = 2
margaretha064eb6f2018-07-10 18:33:01 +020054# expiry in seconds (S), minutes (M), hours (H), days (D)
55oauth2.access.token.expiry = 3S
56oauth2.refresh.token.expiry = 90D
57oauth2.authorization.code.expiry = 10M
margarethabe4c5c92018-05-03 18:55:49 +020058# -- scopes separated by space
margaretha20f31232018-07-09 17:49:39 +020059oauth2.default.scopes = openid search match_info
margaretha9c78e1a2018-06-27 14:12:35 +020060oauth2.client.credentials.scopes = client_info
61
62## OpenId
63### multiple values are separated by space
64openid.grant.types = authorization_code
65openid.response.types = code
66openid.response.modes = query
67openid.client.auth.methods = client_secret_basic client_secret_post
68openid.token.signing.algorithms = RS256
69openid.subject.types = public
70openid.display.types = page
margarethaa2ce63d2018-06-28 10:11:43 +020071openid.supported.scopes = openid email auth_time
margaretha9c78e1a2018-06-27 14:12:35 +020072openid.support.claim.param = false
73openid.claim.types = normal
74openid.supported.claims = iss sub aud exp iat
75openid.ui.locales = en
76#openid.privacy.policy =
77#openid.term.of.service =
78openid.service.doc = https://github.com/KorAP/Kustvakt/wiki
margaretha6374f722018-04-17 18:45:57 +020079
margaretha19295962018-06-26 16:00:47 +020080## JWT
margaretha9c78e1a2018-06-27 14:12:35 +020081security.jwt.issuer=https://korap.ids-mannheim.de
margaretha6374f722018-04-17 18:45:57 +020082
margaretha19295962018-06-26 16:00:47 +020083## JWK
margaretha07a356a2018-07-11 19:12:21 +020084## must be set for openid
margaretha19295962018-06-26 16:00:47 +020085rsa.private = kustvakt_rsa.key
86rsa.public = kustvakt_rsa_public.key
87rsa.key.id = 74caa3a9-217c-49e6-94e9-2368fdd02c35
88
89## token expiration time
margarethafc9e4072017-08-29 18:34:01 +020090security.longTokenTTL = 1D
margaretha49cb6882018-07-04 04:19:54 +020091security.tokenTTL = 2S
92security.shortTokenTTL = 1S
margarethafc9e4072017-08-29 18:34:01 +020093
margaretha33fa3d92018-07-26 13:50:17 +020094## see SecureRandom Number Generation Algorithms
95## default SHA1PRNG
96security.secure.random.algorithm=SHA1PRNG
97
98## see MessageDigest Algorithms
99## default MD5
100security.md.algoritm = SHA-256
101
102### secure hash support: BCRYPT, ESAPICYPHER
103security.secure.hash.algorithm=BCRYPT
margarethaf18298b2017-09-14 22:14:32 +0200104security.passcode.salt=salt
margarethafc9e4072017-08-29 18:34:01 +0200105
106security.idleTimeoutDuration = 25M
107security.multipleLogIn = true
108security.loginAttemptNum = 3
109security.authAttemptTTL = 45M
110
111security.encryption.loadFactor = 8
112security.validation.stringLength = 150
113security.validation.emailLength = 50
margaretha33fa3d92018-07-26 13:50:17 +0200114
margarethae4034a82018-07-02 14:46:59 +0200115security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
margarethafc9e4072017-08-29 18:34:01 +0200116
117## applicable: rewrite, foundry, filter, deny
118security.rewrite.strategies=filter, foundry, rewrite