margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 1 | ## index dir |
margaretha | cfea1ae | 2018-01-15 20:27:26 +0100 | [diff] [blame] | 2 | krill.indexDir = ../sample-index |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 3 | |
| 4 | krill.index.commit.count = 134217000 |
| 5 | krill.index.commit.log = log/krill.commit.log |
| 6 | krill.index.commit.auto = 500 |
| 7 | krill.index.relations.max = 100 |
| 8 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 9 | #LDAP |
| 10 | ldap.config = file-path-to-ldap-config |
| 11 | |
| 12 | # Kustvakt |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 13 | ## server |
| 14 | server.port=8089 |
| 15 | server.host=localhost |
| 16 | |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 17 | ## mail settings |
| 18 | mail.enabled = false |
| 19 | mail.receiver = test@localhost |
| 20 | mail.sender = noreply@ids-mannheim.de |
margaretha | 7d0165c | 2018-02-26 15:31:37 +0100 | [diff] [blame] | 21 | mail.address.retrieval = test |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 22 | |
| 23 | ## mail.templates |
| 24 | template.group.invitation = notification.vm |
| 25 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 26 | ## default layers |
margaretha | 6fca729 | 2018-03-13 13:19:00 +0100 | [diff] [blame] | 27 | default.layer.partOfSpeech = tt |
| 28 | default.layer.lemma = tt |
| 29 | default.layer.orthography = opennlp |
| 30 | default.layer.dependency = mate |
| 31 | default.layer.constituent = corenlp |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 32 | |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 33 | ## delete configuration (default hard) |
| 34 | # delete.auto.group = hard |
| 35 | delete.group = soft |
| 36 | delete.group.member = soft |
| 37 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 38 | ## availability regex |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 39 | ## only support | |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 40 | availability.regex.free = CC-BY.* |
margaretha | ad618d2 | 2017-12-11 19:58:49 +0100 | [diff] [blame] | 41 | availability.regex.public = ACA.* | QAO-NC |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 42 | availability.regex.all = QAO.* |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 43 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 44 | ## options referring to the security module! |
| 45 | |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 46 | ## OAuth |
margaretha | 6374f72 | 2018-04-17 18:45:57 +0200 | [diff] [blame] | 47 | ### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible |
| 48 | ### oauth.password.authentication values) |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 49 | oauth2.password.authentication = TEST |
| 50 | oauth2.native.client.host = korap.ids-mannheim.de |
margaretha | be4c5c9 | 2018-05-03 18:55:49 +0200 | [diff] [blame] | 51 | oauth2.max.attempts = 2 |
| 52 | # -- scopes separated by space |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 53 | oauth2.default.scopes = openid username email |
| 54 | oauth2.client.credentials.scopes = client_info |
| 55 | |
| 56 | ## OpenId |
| 57 | ### multiple values are separated by space |
| 58 | openid.grant.types = authorization_code |
| 59 | openid.response.types = code |
| 60 | openid.response.modes = query |
| 61 | openid.client.auth.methods = client_secret_basic client_secret_post |
| 62 | openid.token.signing.algorithms = RS256 |
| 63 | openid.subject.types = public |
| 64 | openid.display.types = page |
margaretha | a2ce63d | 2018-06-28 10:11:43 +0200 | [diff] [blame] | 65 | openid.supported.scopes = openid email auth_time |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 66 | openid.support.claim.param = false |
| 67 | openid.claim.types = normal |
| 68 | openid.supported.claims = iss sub aud exp iat |
| 69 | openid.ui.locales = en |
| 70 | #openid.privacy.policy = |
| 71 | #openid.term.of.service = |
| 72 | openid.service.doc = https://github.com/KorAP/Kustvakt/wiki |
margaretha | 6374f72 | 2018-04-17 18:45:57 +0200 | [diff] [blame] | 73 | |
margaretha | 1929596 | 2018-06-26 16:00:47 +0200 | [diff] [blame] | 74 | ## JWT |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 75 | security.jwt.issuer=https://korap.ids-mannheim.de |
margaretha | 6374f72 | 2018-04-17 18:45:57 +0200 | [diff] [blame] | 76 | |
margaretha | 1929596 | 2018-06-26 16:00:47 +0200 | [diff] [blame] | 77 | ## JWK |
| 78 | rsa.private = kustvakt_rsa.key |
| 79 | rsa.public = kustvakt_rsa_public.key |
| 80 | rsa.key.id = 74caa3a9-217c-49e6-94e9-2368fdd02c35 |
| 81 | |
| 82 | ## token expiration time |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 83 | security.longTokenTTL = 1D |
| 84 | security.tokenTTL = 9S |
| 85 | security.shortTokenTTL = 5S |
| 86 | |
| 87 | ## specifies the user data field that is used to salt user passwords |
margaretha | f18298b | 2017-09-14 22:14:32 +0200 | [diff] [blame] | 88 | security.passcode.salt=salt |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 89 | |
| 90 | security.idleTimeoutDuration = 25M |
| 91 | security.multipleLogIn = true |
| 92 | security.loginAttemptNum = 3 |
| 93 | security.authAttemptTTL = 45M |
| 94 | |
| 95 | security.encryption.loadFactor = 8 |
| 96 | security.validation.stringLength = 150 |
| 97 | security.validation.emailLength = 50 |
| 98 | security.encryption.algo=BCRYPT |
margaretha | e4034a8 | 2018-07-02 14:46:59 +0200 | [diff] [blame] | 99 | security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 100 | |
| 101 | ## applicable: rewrite, foundry, filter, deny |
| 102 | security.rewrite.strategies=filter, foundry, rewrite |