blob: 0c21e43dfcea2c8dd831d426fd323e6fe9d74538 [file] [log] [blame]
margaretha56e8e552017-12-05 16:31:21 +01001#Krill
margarethaf68daa62017-09-21 02:11:24 +02002krill.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
margarethaaecee1b2018-02-20 14:44:21 +010013## server
14server.port=8089
15server.host=localhost
16
margaretha58e18632018-02-15 13:04:42 +010017## mail settings
18mail.enabled = false
margarethaa86b1412018-02-21 20:40:35 +010019mail.receiver = test@localhost
margarethaaecee1b2018-02-20 14:44:21 +010020mail.sender = noreply@ids-mannheim.de
margaretha7d0165c2018-02-26 15:31:37 +010021mail.address.retrieval = test
margaretha58e18632018-02-15 13:04:42 +010022
margarethaa86b1412018-02-21 20:40:35 +010023## 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
margarethac38c8562017-11-21 19:02:08 +010032
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
margaretha6374f722018-04-17 18:45:57 +020046## OAuth
47### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
48### oauth.password.authentication values)
49oauth.password.authentication = TEST
margarethabe4c5c92018-05-03 18:55:49 +020050oauth2.native.client.host = korap.ids-mannheim.de
margaretha064eb6f2018-07-10 18:33:01 +020051oauth2.max.attempts = 1
52# expiry in seconds (S), minutes (M), hours (H), days (D)
53oauth2.access.token.expiry = 1D
54oauth2.refresh.token.expiry = 90D
55oauth2.authorization.code.expiry = 10M
margarethabe4c5c92018-05-03 18:55:49 +020056# -- scopes separated by space
margaretha20f31232018-07-09 17:49:39 +020057oauth2.default.scopes = search match_info
margarethad7cab212018-07-02 19:01:43 +020058oauth2.client.credentials.scopes = client_info
margaretha6374f722018-04-17 18:45:57 +020059
60# JWT
61security.jwt.issuer=korap.ids-mannheim.de
62
63## token expiration
margarethafc9e4072017-08-29 18:34:01 +020064security.longTokenTTL=150D
65security.tokenTTL=72H
66security.shortTokenTTL=45M
67
margarethafc9e4072017-08-29 18:34:01 +020068## specifies the user data field that is used to salt user passwords
69security.passcode.salt=salt
70
71security.idleTimeoutDuration = 25M
72security.multipleLogIn = true
73security.loginAttemptNum = 3
74security.authAttemptTTL = 45M
75
76security.encryption.loadFactor = 8
77security.validation.stringLength = 150
78security.validation.emailLength = 50
79security.encryption.algo=BCRYPT
margarethae4034a82018-07-02 14:46:59 +020080security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
margarethafc9e4072017-08-29 18:34:01 +020081security.adminToken=adminToken
82
83## applicable: rewrite, foundry, filter, deny
84security.rewrite.strategies=filter, foundry, rewrite