Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | <?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 | |
| 7 | <Set name="contextPath">/onboarding</Set> |
| 8 | <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> |