Subversion Repositories SmartDukaan

Rev

Rev 1036 | Rev 2503 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1036 Rev 1337
Line 15... Line 15...
15
 
15
 
16
    <filter-mapping>
16
    <filter-mapping>
17
        <filter-name>action2</filter-name>
17
        <filter-name>action2</filter-name>
18
        <url-pattern>/*</url-pattern>
18
        <url-pattern>/*</url-pattern>
19
    </filter-mapping>
19
    </filter-mapping>
20
	<!-- Just added for initial security reasons, need to remove once internal testing is over -->
-
 
21
	<security-constraint>
-
 
22
        <web-resource-collection>
-
 
23
        <web-resource-name>Wildcard means whole app requires authentication</web-resource-name>
-
 
24
            <url-pattern>/register</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
 
-
 
32
                <user-data-constraint>
-
 
33
                        <!-- transport-guarantee can be CONFIDENTIAL, INTEGRAL, or NONE -->
-
 
34
                        <transport-guarantee>NONE</transport-guarantee>
-
 
35
                </user-data-constraint>
-
 
36
    </security-constraint>
-
 
37
	<security-role>
-
 
38
        <role-name>admin</role-name>
-
 
39
    </security-role>
-
 
40
    <login-config>
-
 
41
        <auth-method>BASIC</auth-method>
-
 
42
    </login-config>
-
 
43
	<!-- Just added for initial security reasons, need to remove once internal testing is over -->
-
 
44
 
-
 
45
</web-app>
20
</web-app>