margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 1 | #Krill |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [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 |
margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame^] | 8 | ## Directory path of virtual corpora to cache |
| 9 | krill.namedVC = vc |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 10 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 11 | ## LDAP |
| 12 | ldap.config = file-path-to-ldap-config |
| 13 | |
| 14 | # Kustvakt |
margaretha | aecee1b | 2018-02-20 14:44:21 +0100 | [diff] [blame] | 15 | ## server |
| 16 | server.port=8089 |
| 17 | server.host=localhost |
| 18 | |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 19 | ## mail settings |
| 20 | mail.enabled = false |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 21 | mail.receiver = test@localhost |
margaretha | aecee1b | 2018-02-20 14:44:21 +0100 | [diff] [blame] | 22 | mail.sender = noreply@ids-mannheim.de |
margaretha | 7d0165c | 2018-02-26 15:31:37 +0100 | [diff] [blame] | 23 | mail.address.retrieval = test |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 24 | |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 25 | ## mail.templates |
| 26 | template.group.invitation = notification.vm |
| 27 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 28 | ## default layers |
margaretha | 6fca729 | 2018-03-13 13:19:00 +0100 | [diff] [blame] | 29 | default.layer.partOfSpeech = tt |
| 30 | default.layer.lemma = tt |
| 31 | default.layer.orthography = opennlp |
| 32 | default.layer.dependency = mate |
| 33 | default.layer.constituent = corenlp |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 34 | |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 35 | ## delete configuration (default hard) |
| 36 | # delete.auto.group = hard |
| 37 | delete.group = soft |
| 38 | delete.group.member = soft |
| 39 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 40 | ## availability regex |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 41 | ## only support | |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 42 | availability.regex.free = CC-BY.* |
margaretha | ad618d2 | 2017-12-11 19:58:49 +0100 | [diff] [blame] | 43 | availability.regex.public = ACA.* | QAO.NC |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 44 | availability.regex.all = QAO.* |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 45 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 46 | ## options referring to the security module! |
| 47 | |
margaretha | 6374f72 | 2018-04-17 18:45:57 +0200 | [diff] [blame] | 48 | ## OAuth |
| 49 | ### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible |
| 50 | ### oauth.password.authentication values) |
| 51 | oauth.password.authentication = TEST |
margaretha | be4c5c9 | 2018-05-03 18:55:49 +0200 | [diff] [blame] | 52 | oauth2.native.client.host = korap.ids-mannheim.de |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 53 | oauth2.max.attempts = 1 |
| 54 | # expiry in seconds (S), minutes (M), hours (H), days (D) |
| 55 | oauth2.access.token.expiry = 1D |
| 56 | oauth2.refresh.token.expiry = 90D |
| 57 | oauth2.authorization.code.expiry = 10M |
margaretha | be4c5c9 | 2018-05-03 18:55:49 +0200 | [diff] [blame] | 58 | # -- scopes separated by space |
margaretha | 20f3123 | 2018-07-09 17:49:39 +0200 | [diff] [blame] | 59 | oauth2.default.scopes = search match_info |
margaretha | d7cab21 | 2018-07-02 19:01:43 +0200 | [diff] [blame] | 60 | oauth2.client.credentials.scopes = client_info |
margaretha | 6374f72 | 2018-04-17 18:45:57 +0200 | [diff] [blame] | 61 | |
| 62 | # JWT |
| 63 | security.jwt.issuer=korap.ids-mannheim.de |
| 64 | |
| 65 | ## token expiration |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 66 | security.longTokenTTL=150D |
| 67 | security.tokenTTL=72H |
| 68 | security.shortTokenTTL=45M |
| 69 | |
margaretha | 33fa3d9 | 2018-07-26 13:50:17 +0200 | [diff] [blame] | 70 | ## see SecureRandom Number Generation Algorithms |
| 71 | ## default SHA1PRNG |
| 72 | security.secure.random.algorithm=SHA1PRNG |
| 73 | |
| 74 | ## see MessageDigest Algorithms |
| 75 | ## default MD5 |
| 76 | security.md.algoritm = SHA-256 |
| 77 | |
| 78 | ### secure hash support: BCRYPT, ESAPICYPHER |
| 79 | security.secure.hash.algorithm=BCRYPT |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 80 | security.passcode.salt=salt |
| 81 | |
| 82 | security.idleTimeoutDuration = 25M |
| 83 | security.multipleLogIn = true |
| 84 | security.loginAttemptNum = 3 |
| 85 | security.authAttemptTTL = 45M |
| 86 | |
| 87 | security.encryption.loadFactor = 8 |
| 88 | security.validation.stringLength = 150 |
| 89 | security.validation.emailLength = 50 |
margaretha | e4034a8 | 2018-07-02 14:46:59 +0200 | [diff] [blame] | 90 | 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] | 91 | security.adminToken=adminToken |
| 92 | |
| 93 | ## applicable: rewrite, foundry, filter, deny |
| 94 | security.rewrite.strategies=filter, foundry, rewrite |