1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package fr.cnes.doi.settings;
20
21
22
23
24
25
26
27 public final class Consts {
28
29
30
31
32 public static final String APP_NAME = "Starter.APP_NAME";
33
34
35
36
37 public static final String VERSION = "Starter.VERSION";
38
39
40
41
42 public static final String NAME = "Starter.NAME";
43
44
45
46
47 public static final String COPYRIGHT = "Starter.COPYRIGHT";
48
49
50
51
52 public static final String CONTEXT_MODE = "Starter.CONTEXT_MODE";
53
54
55
56
57 public static final String INIST_DOI = "Starter.Inist.doi";
58
59
60
61
62 public static final String INIST_LOGIN = "Starter.Inist.login";
63
64
65
66
67 public static final String INIST_PWD = "Starter.Inist.pwd";
68
69
70
71
72 public static final String SERVER_HTTP_PORT = "Starter.Server.HTTP.Port";
73
74
75
76
77 public static final String SERVER_HTTPS_SECRET_KEY = "Starter.Server.HTTPS.SecretKey";
78
79
80
81
82 public static final String SERVER_HTTPS_PORT = "Starter.Server.HTTPS.Port";
83
84
85
86
87 public static final String SERVER_HTTPS_KEYSTORE_PATH = "Starter.Server.HTTPS.KeystorePath";
88
89
90
91
92 public static final String SERVER_HTTPS_KEYSTORE_PASSWD
93 = "Starter.Server.HTTPS.keystorePassword";
94
95
96
97
98 public static final String SERVER_HTTPS_TRUST_STORE_PATH
99 = "Starter.Server.HTTPS.TrustStorePath";
100
101
102
103
104 public static final String SERVER_HTTPS_TRUST_STORE_PASSWD
105 = "Starter.Server.HTTPS.TrustStorePassword";
106
107
108
109
110
111 public static final String SERVER_PROXY_TYPE = "Starter.Proxy.type";
112
113
114
115
116 public static final String SERVER_PROXY_HOST = "Starter.Proxy.host";
117
118
119
120
121 public static final String SERVER_PROXY_PORT = "Starter.Proxy.port";
122
123
124
125
126 public static final String SERVER_PROXY_LOGIN = "Starter.Proxy.login";
127
128
129
130
131 public static final String SERVER_PROXY_PWD = "Starter.Proxy.pwd";
132
133
134
135
136 public static final String SERVER_NONPROXY_HOSTS = "Starter.NoProxy.hosts";
137
138
139
140
141 public static final String SERVER_PROXY_JAAS_SPN = "Starter.Proxy.Jass.Spn";
142
143
144
145
146 public static final String SERVER_PROXY_JAAS_FILE = "Starter.Proxy.Jass.File";
147
148
149
150
151 public static final String SERVER_PROXY_JAAS_CONTEXT = "Starter.Proxy.Jass.Context";
152
153
154
155
156 public static final String TOKEN_EXPIRATION_DELAY = "Starter.Token.Delay";
157
158
159
160
161 public static final String TOKEN_EXPIRATION_UNIT = "Starter.Token.Unit";
162
163
164
165
166 public static final String LOG_FORMAT = "Starter.Server.Log.format";
167
168
169
170
171 public static final String SERVER_CONTACT_ADMIN = "Starter.Server.contactAdmin";
172
173
174
175
176 public static final String SMTP_PROTOCOL = "Starter.mail.send.protocol";
177
178
179
180 public static final String SMTP_URL = "Starter.mail.send.server";
181
182
183
184 public static final String SMTP_STARTTLS_ENABLE = "Starter.mail.send.tls";
185
186
187
188
189 public static final String SMTP_AUTH_USER = "Starter.mail.send.identifier";
190
191
192
193
194 public static final String SMTP_AUTH_PWD = "Starter.mail.send.secret";
195
196
197
198
199
200 public static final String JETTY_MIN_THREADS = "Starter.MIN_THREADS";
201
202
203
204
205 public static final String JETTY_MAX_THREADS = "Starter.MAX_THREADS";
206
207
208
209
210 public static final String JETTY_THREADS_PRIORITY = "Starter.THREADS_PRIORITY";
211
212
213
214
215
216 public static final String JETTY_THREAD_MAX_IDLE_TIME_MS = "Starter.THREAD_MAX_IDLE_TIME_MS";
217
218
219
220
221
222 public static final String JETTY_THREAD_STOP_TIME_MS = "Starter.THREAD_MAX_STOP_TIME_MS";
223
224
225
226
227 public static final String JETTY_LOW_RESOURCES_MAX_IDLE_TIME_MS
228 = "Starter.LOW_RESOURCES_MAX_IDLE_TIME_MS";
229
230
231
232
233
234 public static final String JETTY_LOW_RESOURCES_PERIOD = "Starter.LOW_RESOURCES_PERIOD";
235
236
237
238
239
240 public static final String JETTY_LOW_RESOURCES_MAX_MEMORY = "Starter.LOW_RESOURCES_MAX_MEMORY";
241
242
243
244
245 public static final String JETTY_LOW_RESOURCES_MAX_CONNECTIONS
246 = "Starter.LOW_RESOURCES_MAX_CONNECTIONS";
247
248
249
250
251 public static final String JETTY_LOW_RESOURCES_THREADS = "Starter.LOW_RESOURCES_THREADS";
252
253
254
255
256
257 public static final String JETTY_ACCEPTOR_THREADS = "Starter.ACCEPTOR_THREADS";
258
259
260
261
262
263 public static final String JETTY_SELECTOR_THREADS = "Starter.SELECTOR_THREADS";
264
265
266
267 public static final String JETTY_ACCEPT_QUEUE_SIZE = "Starter.ACCEPT_QUEUE_SIZE";
268
269
270
271
272
273
274 public static final String JETTY_REQUEST_HEADER_SIZE = "Starter.REQUEST_HEADER_SIZE";
275
276
277
278
279
280 public static final String JETTY_RESPONSE_HEADER_SIZE = "Starter.RESPONSE_HEADER_SIZE";
281
282
283
284 public static final String JETTY_REQUEST_BUFFER_SIZE = "Starter.REQUEST_BUFFER_SIZE";
285
286
287
288
289
290
291 public static final String JETTY_RESPONSE_BUFFER_SIZE = "Starter.RESPONSE_BUFFER_SIZE";
292
293
294
295
296
297
298 public static final String JETTY_IO_MAX_IDLE_TIME_MS = "Starter.IO_MAX_IDLE_TIME_MS";
299
300
301
302
303 public static final String JETTY_SO_LINGER_TIME = "Starter.SO_LINGER_TIME";
304
305
306
307
308 public static final String JETTY_GRACEFUL_SHUTDOWN = "Starter.GRACEFUL_SHUTDOWN";
309
310
311
312 public static final String TOKEN_KEY = "Starter.Token.key";
313
314
315
316
317 public static final String PLUGIN_USER_GROUP_MGT = "Starter.Plugin.UserGroupMgt";
318
319
320
321
322 public static final String PLUGIN_PROJECT_SUFFIX = "Starter.Plugin.ProjectSuffix";
323
324
325
326
327 public static final String PLUGIN_TOKEN = "Starter.Plugin.Token";
328
329
330
331
332 public static final String PLUGIN_AUTHENTICATION = "Starter.Plugin.Authentication";
333
334
335
336
337 public static final String ADMIN_IP_ALLOWER = "Starter.admin.IP.allower";
338
339
340
341
342 public static final String THRESHOLD_SPEED_PERCENT = "Starter.Monitoring.Threshold_speed";
343
344
345
346
347 public static final String RESTLET_MAX_TOTAL_CONNECTIONS = "Starter.maxTotalConnections";
348
349
350
351
352 public static final String RESTLET_MAX_CONNECTIONS_PER_HOST = "Starter.maxConnectionsPerHost";
353
354
355
356
357 public static final String DATACITE_SCHEMA = "Starter.dataciteSchema";
358
359
360
361
362 public static final String DB_UPDATE_JOB_PERIOD = "Starter.updateDatabaseJob.period";
363
364
365
366
367 public static final String ATTRIBUTION = "Starter.attribution";
368
369
370
371
372 public static final String ENCRYPTED_FIELDS = "Starter.encrypted_fields";
373
374
375
376
377 public static final String USE_FORWARDED_FOR_HEADER = "useForwardedForHeader";
378
379
380
381
382 public static final String PROXIFIED_IP = "X-Forwarded-For";
383
384
385
386
387 public static final String LOG_IP_ADDRESS = "ipAddress";
388
389
390
391
392 private Consts() {
393 }
394
395 }