| 2674 |
vikas |
1 |
<!DOCTYPE web-app PUBLIC
|
|
|
2 |
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
|
|
3 |
"http://java.sun.com/dtd/web-app_2_3.dtd" >
|
|
|
4 |
|
|
|
5 |
<web-app id="starter" version="2.4"
|
|
|
6 |
xmlns="http://java.sun.com/xml/ns/j2ee"
|
|
|
7 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
8 |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
|
|
9 |
|
|
|
10 |
<display-name>crm.shop2020.in</display-name>
|
|
|
11 |
|
|
|
12 |
<!-- Filters -->
|
|
|
13 |
<filter>
|
|
|
14 |
<filter-name>action2</filter-name>
|
|
|
15 |
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
|
|
|
16 |
</filter>
|
|
|
17 |
|
|
|
18 |
<filter-mapping>
|
|
|
19 |
<filter-name>action2</filter-name>
|
|
|
20 |
<url-pattern>/*</url-pattern>
|
|
|
21 |
</filter-mapping>
|
|
|
22 |
|
|
|
23 |
<security-constraint>
|
|
|
24 |
<web-resource-collection>
|
|
|
25 |
<web-resource-name>Wildcard</web-resource-name>
|
|
|
26 |
<url-pattern>/*</url-pattern>
|
|
|
27 |
<http-method>GET</http-method>
|
|
|
28 |
<http-method>POST</http-method>
|
|
|
29 |
</web-resource-collection>
|
|
|
30 |
<auth-constraint>
|
|
|
31 |
<role-name>crm</role-name>
|
|
|
32 |
</auth-constraint>
|
|
|
33 |
<user-data-constraint>
|
|
|
34 |
<transport-guarantee>NONE</transport-guarantee>
|
|
|
35 |
</user-data-constraint>
|
|
|
36 |
</security-constraint>
|
|
|
37 |
<security-role>
|
|
|
38 |
<role-name>crm</role-name>
|
|
|
39 |
</security-role>
|
|
|
40 |
<login-config>
|
|
|
41 |
<auth-method>BASIC</auth-method>
|
|
|
42 |
</login-config>
|
|
|
43 |
</web-app>
|