| <?xml version="1.0"?> |
| <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd"> |
| |
| |
| <!-- =============================================================== --> |
| <!-- Configure the test-annotations webapp --> |
| <!-- =============================================================== --> |
| |
| <Configure id='wac' class="org.eclipse.jetty.webapp.WebAppContext"> |
| |
| <New id="tx" class="org.eclipse.jetty.plus.jndi.Transaction"> |
| <Arg> |
| <New class="com.acme.MockUserTransaction"/> |
| </Arg> |
| </New> |
| |
| |
| <!-- =============================================================== --> |
| <!-- Configure the webapp --> |
| <!-- =============================================================== --> |
| <!-- Only uncomment this if you are not using the plus and |
| annotations sections of start.ini |
| |
| <Set name="configurationClasses"> |
| <Call class="org.eclipse.jetty.webapp.Configuration$ClassList" name="serverDefault"> |
| <Arg><Ref refid="Server" /></Arg> |
| <Call name="addAfter"> |
| <Arg name="afterClass">org.eclipse.jetty.webapp.FragmentConfiguration</Arg> |
| <Arg> |
| <Array type="String"> |
| <Item>org.eclipse.jetty.plus.webapp.EnvConfiguration</Item> |
| <Item>org.eclipse.jetty.plus.webapp.PlusConfiguration</Item> |
| <Item>org.eclipse.jetty.annotations.AnnotationConfiguration</Item> |
| </Array> |
| </Arg> |
| </Call> |
| </Call> |
| </Set> |
| --> |
| |
| <Set name="contextPath">/test-spec</Set> |
| <Set name="war"><Property name="jetty.webapps"/>/test-spec.war</Set> |
| <Set name="configurationDiscovered">true</Set> |
| |
| <Get name="securityHandler"> |
| <Set name="loginService"> |
| <New class="org.eclipse.jetty.security.HashLoginService"> |
| <Set name="name">Test Realm</Set> |
| <Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/realm.properties</Set> |
| </New> |
| </Set> |
| </Get> |
| |