margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 1 | # Krill settings |
| 2 | # |
| 3 | krill.indexDir = sample-index |
| 4 | |
| 5 | krill.index.commit.count = 134217000 |
| 6 | krill.index.commit.log = log/krill.commit.log |
| 7 | krill.index.commit.auto = 500 |
| 8 | krill.index.relations.max = 100 |
| 9 | # Directory path of virtual corpora to cache |
| 10 | krill.namedVC = vc |
| 11 | krill.test = true |
| 12 | |
margaretha | 46e2c95 | 2024-05-23 09:09:54 +0200 | [diff] [blame] | 13 | krill.match.max.token=50 |
| 14 | krill.context.max.token=60 |
| 15 | |
margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 16 | # LDAP configuration file |
| 17 | # |
| 18 | ldap.config = src/test/resources/test-ldap.conf |
| 19 | |
| 20 | # Kustvakt versions |
| 21 | # |
margaretha | cdd26e6 | 2024-07-12 12:40:26 +0200 | [diff] [blame] | 22 | # multiple versions comma separated |
margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 23 | current.api.version = v1.0 |
margaretha | cdd26e6 | 2024-07-12 12:40:26 +0200 | [diff] [blame] | 24 | supported.api.versions = v0.1, v1.0 |
margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 25 | |
| 26 | # Server |
| 27 | # |
| 28 | server.port=8089 |
| 29 | server.host=localhost |
| 30 | |
| 31 | # Mail settings |
| 32 | # |
| 33 | mail.enabled = false |
| 34 | mail.receiver = test@localhost |
| 35 | mail.sender = noreply@ids-mannheim.de |
| 36 | mail.address.retrieval = test |
| 37 | |
| 38 | # Mail.templates |
| 39 | # |
| 40 | template.group.invitation = notification.vm |
| 41 | |
| 42 | # Default foundries for specific layers (optional) |
| 43 | # |
| 44 | default.foundry.partOfSpeech = tt |
| 45 | default.foundry.lemma = tt |
| 46 | default.foundry.orthography = opennlp |
| 47 | default.foundry.dependency = malt |
| 48 | default.foundry.constituent = corenlp |
| 49 | default.foundry.morphology = marmot |
| 50 | default.foundry.surface = base |
| 51 | |
| 52 | # Delete configuration (default hard) |
| 53 | # |
| 54 | # delete.auto.group = hard |
| 55 | delete.group = soft |
| 56 | delete.group.member = soft |
| 57 | |
| 58 | # Virtual corpus and queries |
| 59 | max.user.persistent.queries = 5 |
| 60 | |
| 61 | # Availability regex only support | |
| 62 | # It should be removed/commented when the data doesn't contain availability field. |
| 63 | # |
Marc Kupietz | e4528ee | 2024-07-04 16:28:37 +0200 | [diff] [blame] | 64 | availability.regex.free = CC.* |
margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 65 | availability.regex.public = ACA.*|QAO-NC |
| 66 | availability.regex.all = QAO.* |
| 67 | |
| 68 | |
margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 69 | # options referring to the security module! |
| 70 | |
| 71 | # OAuth |
| 72 | # (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible |
| 73 | # oauth.password.authentication values) |
| 74 | # |
| 75 | oauth2.password.authentication = TEST |
| 76 | oauth2.native.client.host = korap.ids-mannheim.de |
| 77 | oauth2.max.attempts = 2 |
| 78 | # expiry in seconds (S), minutes (M), hours (H), days (D) |
| 79 | oauth2.access.token.expiry = 3M |
| 80 | oauth2.refresh.token.expiry = 90D |
| 81 | oauth2.authorization.code.expiry = 10M |
| 82 | # -- scopes separated by space |
| 83 | oauth2.default.scopes = search match_info |
| 84 | oauth2.client.credentials.scopes = client_info |
| 85 | |
| 86 | oauth2.initial.super.client=true |
| 87 | |
| 88 | |
| 89 | # see SecureRandom Number Generation Algorithms |
| 90 | # optional |
| 91 | security.secure.random.algorithm=SHA1PRNG |
| 92 | |
| 93 | # see MessageDigest Algorithms |
| 94 | # default MD5 |
| 95 | security.md.algoritm = SHA-256 |
| 96 | |
| 97 | # secure hash support: BCRYPT |
| 98 | security.secure.hash.algorithm=BCRYPT |
| 99 | security.encryption.loadFactor = 10 |
| 100 | |
| 101 | # DEPRECATED |
| 102 | # JWT |
| 103 | security.jwt.issuer=https://korap.ids-mannheim.de |
| 104 | security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits |
| 105 | |
| 106 | # token expiration time |
| 107 | security.longTokenTTL = 1D |
| 108 | security.tokenTTL = 2S |
| 109 | security.shortTokenTTL = 1S |
| 110 | |
| 111 | # Session authentication |
| 112 | security.idleTimeoutDuration = 25M |
| 113 | security.multipleLogIn = true |
| 114 | security.loginAttemptNum = 3 |
| 115 | security.authAttemptTTL = 45M |