m2u-upass-ws / WebContent / WEB-INF / web.xml
History | View | Annotate | Download (3.2 KB)
1 | 50:0a34b4a7fa41 | hadi | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | 127:30d5407353b2 | hadi | <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" |
3 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> |
||
4 | |||
5 | 50:0a34b4a7fa41 | hadi | <display-name>M2U UPass Web Services</display-name> |
6 | <welcome-file-list>
|
||
7 | <welcome-file>index.html</welcome-file> |
||
8 | <welcome-file>index.htm</welcome-file> |
||
9 | <welcome-file>index.jsp</welcome-file> |
||
10 | <welcome-file>default.html</welcome-file> |
||
11 | <welcome-file>default.htm</welcome-file> |
||
12 | <welcome-file>default.jsp</welcome-file> |
||
13 | </welcome-file-list>
|
||
14 | <servlet>
|
||
15 | <display-name>Apache-Axis Servlet</display-name> |
||
16 | <servlet-name>AxisServlet</servlet-name> |
||
17 | 127:30d5407353b2 | hadi | <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class> |
18 | 0:53910be9bd5d | hadi | </servlet>
|
19 | 86:31691154086a | mohd | <servlet>
|
20 | <servlet-name>Jersey Web Application</servlet-name> |
||
21 | 127:30d5407353b2 | hadi | <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> |
22 | 86:31691154086a | mohd | <init-param>
|
23 | <param-name>com.sun.jersey.config.property.packages</param-name> |
||
24 | <param-value>my.com.upass.maybank</param-value> |
||
25 | </init-param>
|
||
26 | <init-param>
|
||
27 | <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name> |
||
28 | <param-value>true</param-value> |
||
29 | </init-param>
|
||
30 | <load-on-startup>1</load-on-startup> |
||
31 | </servlet>
|
||
32 | <servlet-mapping>
|
||
33 | <servlet-name>Jersey Web Application</servlet-name> |
||
34 | <url-pattern>/rest/*</url-pattern> |
||
35 | </servlet-mapping>
|
||
36 | 50:0a34b4a7fa41 | hadi | <servlet-mapping>
|
37 | <servlet-name>AxisServlet</servlet-name> |
||
38 | <url-pattern>/servlet/AxisServlet</url-pattern> |
||
39 | </servlet-mapping>
|
||
40 | <servlet-mapping>
|
||
41 | <servlet-name>AxisServlet</servlet-name> |
||
42 | <url-pattern>*.jws</url-pattern> |
||
43 | </servlet-mapping>
|
||
44 | <servlet-mapping>
|
||
45 | <servlet-name>AxisServlet</servlet-name> |
||
46 | <url-pattern>/services/*</url-pattern> |
||
47 | </servlet-mapping>
|
||
48 | <!--
|
||
49 | <servlet>
|
||
50 | <display-name>Axis Admin Servlet</display-name>
|
||
51 | <servlet-name>AdminServlet</servlet-name>
|
||
52 | <servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>
|
||
53 | </servlet>
|
||
54 | <servlet-mapping>
|
||
55 | <servlet-name>AdminServlet</servlet-name>
|
||
56 | <url-pattern>/servlet/AdminServlet</url-pattern>
|
||
57 | </servlet-mapping>
|
||
58 | -->
|
||
59 | <session-config>
|
||
60 | <session-timeout>60</session-timeout> |
||
61 | </session-config>
|
||
62 | 107:63dd8c2cdfa8 | hadi | <security-constraint id="UPassRootSecurityConstraint"> |
63 | <web-resource-collection id="UPassRootWebResourceCollection"> |
||
64 | <web-resource-name>Jersey Web Application</web-resource-name> |
||
65 | <description>Protection area for a particular method of the Rest Servlet</description> |
||
66 | <url-pattern>/rest/MaybankFacade/generateUUID</url-pattern> |
||
67 | <http-method>GET</http-method> |
||
68 | <!--
|
||
69 | <http-method>POST</http-method>
|
||
70 | <http-method>PUT</http-method>
|
||
71 | -->
|
||
72 | </web-resource-collection>
|
||
73 | <auth-constraint id="UPassRootAuthConstraint"> |
||
74 | <description>Root Role for a particular method of this rest servlet</description> |
||
75 | <role-name>UPassRoot</role-name> |
||
76 | </auth-constraint>
|
||
77 | <user-data-constraint id="UPassRootUserDataConstraint"> |
||
78 | <transport-guarantee>CONFIDENTIAL</transport-guarantee> |
||
79 | </user-data-constraint>
|
||
80 | </security-constraint>
|
||
81 | <!-- Used Annotation instead.
|
||
82 | <security-role id="UPassRootSecurityRole">
|
||
83 | <description>This Role is used to drive authentication</description>
|
||
84 | <role-name>UPassRoot</role-name>
|
||
85 | </security-role>
|
||
86 | -->
|
||
87 | 50:0a34b4a7fa41 | hadi | </web-app> |