Subversion Repositories SmartDukaan

Rev

Rev 3969 | Rev 16311 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
317 ashish 1
<?xml version="1.0" encoding="UTF-8"?>
2
 
3
<web-app id="starter" version="2.4"
4
         xmlns="http://java.sun.com/xml/ns/j2ee"
5
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
7
 
8
  <display-name>Shop2020.in</display-name>
9
 
10
  <!-- Filters -->
11
    <filter>
12
        <filter-name>action2</filter-name>
13
        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
14
    </filter>
15
 
16
    <filter-mapping>
17
        <filter-name>action2</filter-name>
395 rajveer 18
        <url-pattern>/*</url-pattern>
317 ashish 19
    </filter-mapping>
2503 rajveer 20
 
3985 varun.gupt 21
    <security-constraint>
22
        <web-resource-collection>
23
            <web-resource-name>Wildcard</web-resource-name>
24
            <url-pattern>${in.shop2020.excludeUrl}</url-pattern>
25
            <http-method>GET</http-method>
26
            <http-method>POST</http-method>
27
        </web-resource-collection>
28
        <auth-constraint>
29
            <role-name>admin</role-name>
30
        </auth-constraint>
31
        <user-data-constraint>
32
            <transport-guarantee>NONE</transport-guarantee>
33
        </user-data-constraint>
34
    </security-constraint>
3273 vikas 35
    <security-role>
36
        <role-name>admin</role-name>
37
    </security-role>
38
    <login-config>
39
        <auth-method>BASIC</auth-method>
40
    </login-config>
2503 rajveer 41
 
317 ashish 42
</web-app>