1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
5 <Configure id="onBoardWebapp" class="org.eclipse.jetty.webapp.WebAppContext">
7 <Set name="contextPath">/${app.context.path}</Set>
8 <Set name="war"><Property name="jetty.webapps" default="."/>/onboarding-fe.war</Set>
10 <!-- Enable WebSocket container -->
11 <Call name="setAttribute">
12 <Arg>org.eclipse.jetty.websocket.jsr356</Arg>
13 <Arg type="Boolean">true</Arg>
16 <Set name="gzipHandler">
17 <New class="org.eclipse.jetty.server.handler.gzip.GzipHandler">
18 <Set name="minGzipSize">2048</Set>
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 -->
31 <Set name="refreshInterval">5</Set>
32 <Call name="start"></Call>
36 <Set name="authenticator">
37 <New class="org.eclipse.jetty.security.authentication.FormAuthenticator">
38 <Set name="alwaysSaveUri">true</Set>
41 <Set name="checkWelcomeFiles">true</Set>