adc 2004/07/26 18:50:43
Modified: modules/jetty/src/test-resources/deployables/war3/WEB-INF geronimo-web.xml Log: Put in a real security descriptor. Revision Changes Path 1.2 +9 -15 incubator-geronimo/modules/jetty/src/test-resources/deployables/war3/WEB-INF/geronimo-web.xml Index: geronimo-web.xml =================================================================== RCS file: /home/cvs/incubator-geronimo/modules/jetty/src/test-resources/deployables/war3/WEB-INF/geronimo-web.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- geronimo-web.xml 30 May 2004 19:09:58 -0000 1.1 +++ geronimo-web.xml 27 Jul 2004 01:50:43 -0000 1.2 @@ -16,18 +16,12 @@ limitations under the License. --> -<jetty:web-app - xmlns:jetty="http://geronimo.apache.org/xml/ns/web/jetty" - configId="org/apache/geronimo/jetty/Test" - > - <jetty:context-root>/test</jetty:context-root> - <jetty:context-priority-classloader>false</jetty:context-priority-classloader> - <!-- - <jetty:security> - <sec:default-principal realm-name="foo"> - <sec:principal class="org.apache.geronimo.security.DefaultPrincipal" - name="bar"/> - </sec:default-principal> - </jetty:security> - --> -</jetty:web-app> +<web-app xmlns="http://geronimo.apache.org/xml/ns/web/jetty" configId="org/apache/geronimo/test" > + <context-root>/test</context-root> + <context-priority-classloader>false</context-priority-classloader> + <security use-context-handler="false"> + <default-principal realm-name="demo-properties-realm"> + <principal class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal" name="izumi"/> + </default-principal> + </security> +</web-app>