blob: 79be502e4337c094de90c4628d6c11d8a916b3e8 [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
3
4
5<Configure id="onBoardWebapp" class="org.eclipse.jetty.webapp.WebAppContext">
6
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +03007 <Set name="contextPath">/${app.context.path}</Set>
Michael Landoefa037d2017-02-19 12:57:33 +02008 <Set name="war"><Property name="jetty.webapps" default="."/>/onboarding-fe.war</Set>
9
10 <!-- Enable WebSocket container -->
11 <Call name="setAttribute">
12 <Arg>org.eclipse.jetty.websocket.jsr356</Arg>
13 <Arg type="Boolean">true</Arg>
14 </Call>
15
16 <Set name="gzipHandler">
17 <New class="org.eclipse.jetty.server.handler.gzip.GzipHandler">
18 <Set name="minGzipSize">2048</Set>
19 </New>
20 </Set>
21
22
23 <Get name="securityHandler">
24 <Set name="loginService">
25 <New class="org.eclipse.jetty.security.HashLoginService">
26 <Set name="name">Test Realm</Set>
27 <Set name="config"><SystemProperty name="jetty.base" default="."/>/etc/realm.properties</Set>
28 <!-- To enable reload of realm when properties change, uncomment the following lines -->
29 <!-- changing refreshInterval (in seconds) as desired -->
30 <!--
31 <Set name="refreshInterval">5</Set>
32 <Call name="start"></Call>
33 -->
34 </New>
35 </Set>
36 <Set name="authenticator">
37 <New class="org.eclipse.jetty.security.authentication.FormAuthenticator">
38 <Set name="alwaysSaveUri">true</Set>
39 </New>
40 </Set>
41 <Set name="checkWelcomeFiles">true</Set>
42 </Get>
43
44
45</Configure>