|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 # |
|
4 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
5 # All rights reserved. |
|
6 # This component and the accompanying materials are made available |
|
7 # under the terms of "Eclipse Public License v1.0" |
|
8 # which accompanies this distribution, and is available |
|
9 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
10 # |
|
11 # Initial Contributors: |
|
12 # Nokia Corporation - initial contribution. |
|
13 # |
|
14 # Contributors: |
|
15 # |
|
16 # Description: |
|
17 # |
|
18 --> |
|
19 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> |
|
20 <display-name>installertest</display-name> |
|
21 |
|
22 <servlet> |
|
23 <description></description> |
|
24 <display-name>redirect</display-name> |
|
25 <servlet-name>redirect</servlet-name> |
|
26 <servlet-class>com.nokia.mj.impl.installer.testserver.RedirectServlet</servlet-class> |
|
27 </servlet> |
|
28 <servlet-mapping> |
|
29 <servlet-name>redirect</servlet-name> |
|
30 <url-pattern>/redirect</url-pattern> |
|
31 </servlet-mapping> |
|
32 |
|
33 <servlet> |
|
34 <description></description> |
|
35 <display-name>jad</display-name> |
|
36 <servlet-name>jad</servlet-name> |
|
37 <servlet-class>com.nokia.mj.impl.installer.testserver.JadServlet</servlet-class> |
|
38 </servlet> |
|
39 <servlet-mapping> |
|
40 <servlet-name>jad</servlet-name> |
|
41 <url-pattern>*.jad</url-pattern> |
|
42 </servlet-mapping> |
|
43 |
|
44 <servlet> |
|
45 <description></description> |
|
46 <display-name>notify</display-name> |
|
47 <servlet-name>notify</servlet-name> |
|
48 <servlet-class>com.nokia.mj.impl.installer.testserver.NotifyServlet</servlet-class> |
|
49 </servlet> |
|
50 <servlet-mapping> |
|
51 <servlet-name>notify</servlet-name> |
|
52 <url-pattern>/notify</url-pattern> |
|
53 </servlet-mapping> |
|
54 |
|
55 <security-constraint> |
|
56 <web-resource-collection> |
|
57 <web-resource-name></web-resource-name> |
|
58 <url-pattern>/httpauth/*</url-pattern> |
|
59 </web-resource-collection> |
|
60 <auth-constraint> |
|
61 <role-name>guest</role-name> |
|
62 </auth-constraint> |
|
63 </security-constraint> |
|
64 <login-config> |
|
65 <auth-method>BASIC</auth-method> |
|
66 <realm-name>httpauth</realm-name> |
|
67 </login-config> |
|
68 |
|
69 <security-role> |
|
70 <role-name>guest</role-name> |
|
71 </security-role> |
|
72 |
|
73 </web-app> |