2 <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//
3 DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
5 <Configure class="org.eclipse.jetty.server.Server">
7 <!-- =========================================================== -->
8 <!-- Set connectors -->
9 <!-- =========================================================== -->
10 <!-- One of each type! -->
11 <!-- =========================================================== -->
13 <!-- Use this connector for many frequently idle connections and for
14 threadless continuations. -->
15 <Call name="addConnector">
17 <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
19 <Property name="jetty.host" />
22 <Property name="jetty.port" default="8181" />
24 <Set name="maxIdleTime">300000</Set>
25 <Set name="Acceptors">2</Set>
26 <Set name="statsOn">false</Set>
27 <Set name="confidentialPort">8443</Set>
28 <Set name="lowResourcesConnections">20000</Set>
29 <Set name="lowResourcesMaxIdleTime">5000</Set>
33 <!-- Trusted Authentication Federation proxy connection -->
34 <Call name="addConnector">
36 <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
37 <Set name="host">127.0.0.1</Set>
38 <Set name="port">8383</Set>
39 <Set name="maxIdleTime">300000</Set>
40 <Set name="Acceptors">2</Set>
41 <Set name="statsOn">false</Set>
42 <Set name="confidentialPort">8445</Set>
43 <Set name="name">federationConn</Set>
44 <Set name="lowResourcesConnections">20000</Set>
45 <Set name="lowResourcesMaxIdleTime">5000</Set>
49 <!-- =========================================================== -->
50 <!-- Configure Authentication Realms -->
51 <!-- Realms may be configured for the entire server here, or -->
52 <!-- they can be configured for a specific web app in a context -->
53 <!-- configuration (see $(jetty.home)/contexts/test.xml for an -->
55 <!-- =========================================================== -->
58 <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
59 <Set name="name">karaf</Set>
60 <Set name="loginModuleName">karaf</Set>
61 <Set name="roleClassNames">
62 <Array type="java.lang.String">
63 <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
72 <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
73 <Set name="name">default</Set>
74 <Set name="loginModuleName">karaf</Set>
75 <Set name="roleClassNames">
76 <Array type="java.lang.String">
77 <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal