Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / WEB-INF / web.xml @ 152:5b4fa3de077b

History | View | Annotate | Download (9.1 KB)

1 0:ea666cc7880e hadi
<?xml version="1.0" encoding="UTF-8"?>
2 148:06abc22d669c 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 128:f0d43a7bcfff hadi
        <display-name>UPass Support System</display-name>
5 0:ea666cc7880e hadi
        <context-param>
6
                <param-name>adminDualControl</param-name>
7
                <param-value>true</param-value>
8
        </context-param>
9
        <context-param>
10
                <param-name>customerDualControl</param-name>
11
                <param-value>true</param-value>
12
        </context-param>
13
        <context-param>
14
                <param-name>contentDualControl</param-name>
15
                <param-value>true</param-value>
16
        </context-param>
17
        <context-param>
18
                <param-name>contentCategoryDualControl</param-name>
19
                <param-value>true</param-value>
20
        </context-param>
21
        <context-param>
22
                <param-name>sso</param-name>
23
                <param-value>false</param-value>
24
        </context-param>
25
        <!-- Filter Configuration -->
26
        <!-- <filter>
27
                <filter-name>Session Timeout</filter-name>
28
                <filter-class>com.ib.ibss.common.utils.SetSessionTimeout</filter-class>
29
        </filter>
30
        <filter-mapping>
31
                <filter-name>Session Timeout</filter-name>
32
                <url-pattern>/*</url-pattern>
33
        </filter-mapping> -->
34
35
        <!--
36
        <listener>
37
                <listener-class>com.ib.ibss.hibernate.tables.HibernateListener</listener-class>
38
        </listener>
39
        -->
40 128:f0d43a7bcfff hadi
41 0:ea666cc7880e hadi
        <servlet>
42
                <servlet-name>action</servlet-name>
43
                <servlet-class>com.ib.ibss.common.utils.IBSSActionServlet</servlet-class>
44
                <init-param>
45
                        <param-name>config</param-name>
46
                        <param-value>
47
                                /WEB-INF/config/common/struts-config.xml,
48
                                /WEB-INF/config/common/form-beans.xml,
49
                                /WEB-INF/config/common/view-beans.xml,
50
                                /WEB-INF/config/ss100_navigation/struts-config.xml,
51
                                /WEB-INF/config/ss100_navigation/form-beans.xml,
52
                                /WEB-INF/config/ss100_navigation/view-beans.xml,
53
                                /WEB-INF/config/ss101_access/struts-config.xml,
54
                                /WEB-INF/config/ss101_access/form-beans.xml,
55
                                /WEB-INF/config/ss101_access/view-beans.xml,
56
                                /WEB-INF/config/ss102_user_admin/struts-config.xml,
57
                                /WEB-INF/config/ss102_user_admin/form-beans.xml,
58
                                /WEB-INF/config/ss102_user_admin/view-beans.xml,
59
                                /WEB-INF/config/ss103_group/struts-config.xml,
60
                                /WEB-INF/config/ss103_group/form-beans.xml,
61
                                /WEB-INF/config/ss103_group/view-beans.xml,
62
                                /WEB-INF/config/ss104_audit_trail/struts-config.xml,
63
                                /WEB-INF/config/ss104_audit_trail/form-beans.xml,
64
                                /WEB-INF/config/ss104_audit_trail/view-beans.xml,
65
                                /WEB-INF/config/ss105_content/struts-config.xml,
66
                                /WEB-INF/config/ss105_content/form-beans.xml,
67
                                /WEB-INF/config/ss105_content/view-beans.xml,
68
                                /WEB-INF/config/ss106_maker_checker/struts-config.xml,
69
                                /WEB-INF/config/ss106_maker_checker/form-beans.xml,
70
                                /WEB-INF/config/ss106_maker_checker/view-beans.xml,
71
                                /WEB-INF/config/ss113_group/struts-config.xml,
72
                                /WEB-INF/config/ss115_trnx_enquiry/struts-config.xml,
73
                                /WEB-INF/config/ss115_trnx_enquiry/form-beans.xml,
74
                                /WEB-INF/config/ss115_trnx_enquiry/view-beans.xml,
75
                                /WEB-INF/config/ss116_rib_user_activity/struts-config.xml,
76
                                /WEB-INF/config/ss116_rib_user_activity/form-beans.xml,
77
                                /WEB-INF/config/ss116_rib_user_activity/view-beans.xml,
78
                                /WEB-INF/config/ss112_user/struts-config.xml,
79
                                /WEB-INF/config/ss110_rib_navigation/struts-config.xml,
80
                                /WEB-INF/config/ss200_bib_navigation/struts-config.xml,
81
                                /WEB-INF/config/ss119_secure_mailbox/view-beans.xml,
82
                                /WEB-INF/config/ss119_secure_mailbox/form-beans.xml,
83
                                /WEB-INF/config/ss119_secure_mailbox/struts-config.xml,
84
                                /WEB-INF/config/ss219_report/struts-config.xml,
85
                                /WEB-INF/config/ss219_report/form-beans.xml,
86
                                /WEB-INF/config/ss219_report/view-beans.xml,
87
                                /WEB-INF/config/ss220_statistic/struts-config.xml,
88
                                /WEB-INF/config/ss220_statistic/form-beans.xml,
89
                                /WEB-INF/config/ss221_settings/struts-config.xml,
90
                                /WEB-INF/config/ss221_settings/form-beans.xml,
91
                                /WEB-INF/config/ss221_settings/view-beans.xml,
92
                                /WEB-INF/config/ss120_company_enquiry/struts-config.xml,
93
                                /WEB-INF/config/ss120_company_enquiry/form-beans.xml,
94
                                /WEB-INF/config/ss120_company_enquiry/view-beans.xml,
95
                                /WEB-INF/config/ss121_company_contact/struts-config.xml,
96 128:f0d43a7bcfff hadi
                                /WEB-INF/config/ss121_company_contact/form-beans.xml,
97
                                /WEB-INF/config/ss121_company_contact/view-beans.xml,
98
                                /WEB-INF/config/ss122_company_account/struts-config.xml,
99
                                /WEB-INF/config/ss122_company_account/form-beans.xml,
100
                                /WEB-INF/config/ss122_company_account/view-beans.xml,
101
                                /WEB-INF/config/ss123_company_user/struts-config.xml,
102
                                /WEB-INF/config/ss123_company_user/form-beans.xml,
103
                                /WEB-INF/config/ss123_company_user/view-beans.xml,
104
                                /WEB-INF/config/ss124_company_secure_pas/struts-config.xml,
105
                                /WEB-INF/config/ss124_company_secure_pas/form-beans.xml,
106
                                /WEB-INF/config/ss124_company_secure_pas/view-beans.xml,
107
                                /WEB-INF/config/ss125_company_matrix/struts-config.xml,
108
                                /WEB-INF/config/ss125_company_matrix/form-beans.xml,
109
                                /WEB-INF/config/ss125_company_matrix/view-beans.xml,
110
                                /WEB-INF/config/ss126_company_charges/struts-config.xml,
111
                                /WEB-INF/config/ss126_company_charges/form-beans.xml,
112
                                /WEB-INF/config/ss126_company_charges/view-beans.xml,
113
                                /WEB-INF/config/ss127_bib_trnx_enquiry/struts-config.xml,
114
                                /WEB-INF/config/ss127_bib_trnx_enquiry/form-beans.xml,
115
                                /WEB-INF/config/ss127_bib_trnx_enquiry/view-beans.xml,
116
                                /WEB-INF/config/ss128_bib_user_activity/struts-config.xml,
117 0:ea666cc7880e hadi
                                /WEB-INF/config/ss128_bib_user_activity/form-beans.xml,
118
                                /WEB-INF/config/ss128_bib_user_activity/view-beans.xml,
119 128:f0d43a7bcfff hadi
                                /WEB-INF/config/ss129_bib_navigation/struts-config.xml,
120
                                /WEB-INF/config/ss130_batch.notification/struts-config.xml,
121
                                /WEB-INF/config/ss130_batch.notification/form-beans.xml,
122
                                /WEB-INF/config/ss130_batch.notification/view-beans.xml,
123
                                /WEB-INF/config/ss131_maker_checker_maint/struts-config.xml,
124
                                /WEB-INF/config/ss131_maker_checker_maint/form-beans.xml,
125
                                /WEB-INF/config/ss131_maker_checker_maint/view-beans.xml,
126
                                /WEB-INF/config/ss222_token_management/struts-config.xml,
127
                                /WEB-INF/config/ss222_token_management/form-beans.xml,
128
                                /WEB-INF/config/ss222_token_management/view-beans.xml,
129
                                /WEB-INF/config/ss223_application/struts-config.xml,
130
                                /WEB-INF/config/ss223_application/form-beans.xml,
131
                                /WEB-INF/config/ss223_application/view-beans.xml
132
133 0:ea666cc7880e hadi
                        </param-value>
134
                </init-param>
135
                <load-on-startup>1</load-on-startup>
136
        </servlet>
137
        <servlet-mapping>
138
                <servlet-name>action</servlet-name>
139
                <url-pattern>*.do</url-pattern>
140
        </servlet-mapping>
141
142
        <!--
143
        <session-config>
144
                <session-timeout>5</session-timeout>
145
        </session-config>
146
        -->
147
148
        <welcome-file-list>
149
                <welcome-file>/jsp/common/index.jsp</welcome-file>
150
        </welcome-file-list>
151
152
        <error-page>
153
                <error-code>403</error-code>
154
                <location>/error/404.html</location>
155
        </error-page>
156
        <error-page>
157
                <error-code>404</error-code>
158
                <location>/error/404.html</location>
159
        </error-page>
160
        <error-page>
161
                <error-code>500</error-code>
162
                <location>/error/500.html</location>
163
        </error-page>
164 128:f0d43a7bcfff hadi
165 149:91c3dbebcb73 mohd
        <jsp-config>
166
                <taglib>
167
                        <taglib-uri>/WEB-INF/tld/c</taglib-uri>
168
                        <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
169
                </taglib>
170
                <taglib>
171
                        <taglib-uri>/WEB-INF/tld/struts-bean</taglib-uri>
172
                        <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
173
                </taglib>
174
                <taglib>
175
                        <taglib-uri>/WEB-INF/tld/struts-bean-el</taglib-uri>
176
                        <taglib-location>/WEB-INF/tld/struts-bean-el.tld</taglib-location>
177
                </taglib>
178
                <taglib>
179
                        <taglib-uri>/WEB-INF/tld/struts-logic</taglib-uri>
180
                        <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
181
                </taglib>
182
                <taglib>
183
                        <taglib-uri>/WEB-INF/tld/struts-logic-el</taglib-uri>
184
                        <taglib-location>/WEB-INF/tld/struts-logic-el.tld</taglib-location>
185
                </taglib>
186
                <taglib>
187
                        <taglib-uri>/WEB-INF/tld/struts-html</taglib-uri>
188
                        <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
189
                </taglib>
190
                <taglib>
191
                        <taglib-uri>/WEB-INF/tld/struts-html-el</taglib-uri>
192
                        <taglib-location>/WEB-INF/tld/struts-html-el.tld</taglib-location>
193
                </taglib>
194
                <taglib>
195
                        <taglib-uri>/WEB-INF/tld/struts-tiles</taglib-uri>
196
                        <taglib-location>/WEB-INF/tld/struts-tiles.tld</taglib-location>
197
                </taglib>
198
        </jsp-config>
199 131:9ab538fdcb04 hadi
        <!-- Too complicated for this customer!
200 128:f0d43a7bcfff hadi
        <security-constraint id="UPassRootSecurityConstraint">
201
                <web-resource-collection id="UPassRootWebResourceCollection">
202
                        <web-resource-name>Jersey Web Application</web-resource-name>
203
                        <description>Protection area for a particular method of the Rest Servlet</description>
204
                        <url-pattern>/ss101/changeRootPassword.do</url-pattern>
205
                        <http-method>GET</http-method>
206
                        <http-method>POST</http-method>
207 131:9ab538fdcb04 hadi
                        <!- -
208 128:f0d43a7bcfff hadi
                        <http-method>PUT</http-method>
209 131:9ab538fdcb04 hadi
                         - ->
210 128:f0d43a7bcfff hadi
                </web-resource-collection>
211
                <auth-constraint id="UPassRootAuthConstraint">
212
                        <description>Root Role for a particular method of this rest servlet</description>
213
                        <role-name>UPassRoot</role-name>
214
                </auth-constraint>
215
                <user-data-constraint id="UPassRootUserDataConstraint">
216
                        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
217
                </user-data-constraint>
218
        </security-constraint>
219 0:ea666cc7880e hadi
        <login-config>
220
                <auth-method>BASIC</auth-method>
221
        </login-config>
222 131:9ab538fdcb04 hadi
         -->
223 0:ea666cc7880e hadi
</web-app>