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 | # |
| 22 | # multiple versions separated by space |
| 23 | current.api.version = v1.0 |
| 24 | supported.api.version = v0.1 v1.0 |
| 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 | # |
| 64 | availability.regex.free = CC-BY.* |
| 65 | availability.regex.public = ACA.*|QAO-NC |
| 66 | availability.regex.all = QAO.* |
| 67 | |
| 68 | |
| 69 | # Define resource filters for search and match info API |
| 70 | # AuthenticationFilter activates authentication using OAuth2 tokens |
| 71 | # DemoUserFilter allows access to API without login |
| 72 | # |
| 73 | # Default values: AuthenticationFilter,DemoUserFilter |
| 74 | # |
| 75 | search.resource.filters=AuthenticationFilter,DemoUserFilter |
| 76 | |
| 77 | |
| 78 | # options referring to the security module! |
| 79 | |
| 80 | # OAuth |
| 81 | # (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible |
| 82 | # oauth.password.authentication values) |
| 83 | # |
| 84 | oauth2.password.authentication = TEST |
| 85 | oauth2.native.client.host = korap.ids-mannheim.de |
| 86 | oauth2.max.attempts = 2 |
| 87 | # expiry in seconds (S), minutes (M), hours (H), days (D) |
| 88 | oauth2.access.token.expiry = 3M |
| 89 | oauth2.refresh.token.expiry = 90D |
| 90 | oauth2.authorization.code.expiry = 10M |
| 91 | # -- scopes separated by space |
| 92 | oauth2.default.scopes = search match_info |
| 93 | oauth2.client.credentials.scopes = client_info |
| 94 | |
| 95 | oauth2.initial.super.client=true |
| 96 | |
| 97 | |
| 98 | # see SecureRandom Number Generation Algorithms |
| 99 | # optional |
| 100 | security.secure.random.algorithm=SHA1PRNG |
| 101 | |
| 102 | # see MessageDigest Algorithms |
| 103 | # default MD5 |
| 104 | security.md.algoritm = SHA-256 |
| 105 | |
| 106 | # secure hash support: BCRYPT |
| 107 | security.secure.hash.algorithm=BCRYPT |
| 108 | security.encryption.loadFactor = 10 |
| 109 | |
| 110 | # DEPRECATED |
| 111 | # JWT |
| 112 | security.jwt.issuer=https://korap.ids-mannheim.de |
| 113 | security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits |
| 114 | |
| 115 | # token expiration time |
| 116 | security.longTokenTTL = 1D |
| 117 | security.tokenTTL = 2S |
| 118 | security.shortTokenTTL = 1S |
| 119 | |
| 120 | # Session authentication |
| 121 | security.idleTimeoutDuration = 25M |
| 122 | security.multipleLogIn = true |
| 123 | security.loginAttemptNum = 3 |
| 124 | security.authAttemptTTL = 45M |