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 | <web-app>
|
---|
5 | <display-name>Emergency Department Tracking Board Server Proxy Application</display-name>
|
---|
6 |
|
---|
7 | <context-param>
|
---|
8 | <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
|
---|
9 | <param-value>strings</param-value>
|
---|
10 | </context-param>
|
---|
11 | <!-- Fallback locale if no bundles found for browser's preferred locale -->
|
---|
12 | <!-- Force a single locale using param-name 'javax.servlet.jsp.jstl.fmt.locale' -->
|
---|
13 | <context-param>
|
---|
14 | <param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name>
|
---|
15 | <param-value>en</param-value>
|
---|
16 | </context-param>
|
---|
17 |
|
---|
18 | <context-param>
|
---|
19 | <param-name>contextConfigLocation</param-name>
|
---|
20 | <param-value>
|
---|
21 | classpath*:/applicationContext-dao.xml
|
---|
22 | </param-value>
|
---|
23 | </context-param>
|
---|
24 |
|
---|
25 | <filter>
|
---|
26 | <filter-name>characterEncodingFilter</filter-name>
|
---|
27 | <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
---|
28 | <init-param>
|
---|
29 | <param-name>encoding</param-name>
|
---|
30 | <param-value>UTF-8</param-value>
|
---|
31 | </init-param>
|
---|
32 | </filter>
|
---|
33 |
|
---|
34 | <filter>
|
---|
35 | <filter-name>noCacheFilter</filter-name>
|
---|
36 | <filter-class>gov.va.med.edp.web.servlet.filter.ResponseHeaderFilter</filter-class>
|
---|
37 | <init-param>
|
---|
38 | <param-name>Cache-Control</param-name>
|
---|
39 | <param-value>no-store, must-revalidate</param-value>
|
---|
40 | </init-param>
|
---|
41 | <init-param>
|
---|
42 | <param-name>Expires</param-name>
|
---|
43 | <param-value>Thu, 01 Jan 1970 01:00:00 GMT</param-value>
|
---|
44 | </init-param>
|
---|
45 | </filter>
|
---|
46 |
|
---|
47 | <listener>
|
---|
48 | <listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>
|
---|
49 | </listener>
|
---|
50 |
|
---|
51 | <listener>
|
---|
52 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
---|
53 | </listener>
|
---|
54 |
|
---|
55 | <listener>
|
---|
56 | <listener-class>gov.va.med.authentication.kernel.KaajeeSessionAttributeListener</listener-class>
|
---|
57 | </listener>
|
---|
58 |
|
---|
59 | <listener>
|
---|
60 | <listener-class>gov.va.med.authentication.kernel.KaajeeHttpSessionListener</listener-class>
|
---|
61 | </listener>
|
---|
62 |
|
---|
63 | <listener>
|
---|
64 | <listener-class>gov.va.med.edp.web.servlet.listener.TimeOutIntegrationSessionAttributeListener</listener-class>
|
---|
65 | </listener>
|
---|
66 |
|
---|
67 | <servlet>
|
---|
68 | <servlet-name>KaajeeInit</servlet-name>
|
---|
69 | <servlet-class>gov.va.med.authentication.kernel.InitKaajeeServlet</servlet-class>
|
---|
70 | <init-param>
|
---|
71 | <param-name>kaajee-config-file-location</param-name>
|
---|
72 | <param-value>/WEB-INF/kaajeeConfig.xml</param-value>
|
---|
73 | </init-param>
|
---|
74 | <load-on-startup>3</load-on-startup>
|
---|
75 | </servlet>
|
---|
76 |
|
---|
77 | <servlet>
|
---|
78 | <servlet-name>LoginController</servlet-name>
|
---|
79 | <servlet-class>gov.va.med.authentication.kernel.LoginController</servlet-class>
|
---|
80 | <run-as>
|
---|
81 | <!-- In this example, weblogic is the boot user name (i.e., weblogic console user name) -->
|
---|
82 | <role-name>weblogic</role-name>
|
---|
83 | </run-as>
|
---|
84 | </servlet>
|
---|
85 |
|
---|
86 | <servlet>
|
---|
87 | <servlet-name>dispatcher</servlet-name>
|
---|
88 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
---|
89 | <load-on-startup>1</load-on-startup>
|
---|
90 | </servlet>
|
---|
91 |
|
---|
92 | <filter-mapping>
|
---|
93 | <filter-name>characterEncodingFilter</filter-name>
|
---|
94 | <url-pattern>/*</url-pattern>
|
---|
95 | </filter-mapping>
|
---|
96 |
|
---|
97 | <filter-mapping>
|
---|
98 | <filter-name>noCacheFilter</filter-name>
|
---|
99 | <url-pattern>*.swf</url-pattern>
|
---|
100 | </filter-mapping>
|
---|
101 |
|
---|
102 | <filter-mapping>
|
---|
103 | <filter-name>noCacheFilter</filter-name>
|
---|
104 | <url-pattern>/tracking.html</url-pattern>
|
---|
105 | </filter-mapping>
|
---|
106 |
|
---|
107 | <filter-mapping>
|
---|
108 | <filter-name>noCacheFilter</filter-name>
|
---|
109 | <url-pattern>/board.html</url-pattern>
|
---|
110 | </filter-mapping>
|
---|
111 |
|
---|
112 | <filter-mapping>
|
---|
113 | <filter-name>noCacheFilter</filter-name>
|
---|
114 | <url-pattern>/logout.html</url-pattern>
|
---|
115 | </filter-mapping>
|
---|
116 |
|
---|
117 | <servlet-mapping>
|
---|
118 | <servlet-name>LoginController</servlet-name>
|
---|
119 | <url-pattern>/LoginController</url-pattern>
|
---|
120 | </servlet-mapping>
|
---|
121 |
|
---|
122 | <servlet-mapping>
|
---|
123 | <servlet-name>dispatcher</servlet-name>
|
---|
124 | <url-pattern>*.xml</url-pattern>
|
---|
125 | </servlet-mapping>
|
---|
126 |
|
---|
127 | <servlet-mapping>
|
---|
128 | <servlet-name>dispatcher</servlet-name>
|
---|
129 | <url-pattern>*.csv</url-pattern>
|
---|
130 | </servlet-mapping>
|
---|
131 |
|
---|
132 | <servlet-mapping>
|
---|
133 | <servlet-name>dispatcher</servlet-name>
|
---|
134 | <url-pattern>tracking.html</url-pattern>
|
---|
135 | </servlet-mapping>
|
---|
136 |
|
---|
137 | <servlet-mapping>
|
---|
138 | <servlet-name>dispatcher</servlet-name>
|
---|
139 | <url-pattern>board.html</url-pattern>
|
---|
140 | </servlet-mapping>
|
---|
141 |
|
---|
142 | <servlet-mapping>
|
---|
143 | <servlet-name>dispatcher</servlet-name>
|
---|
144 | <url-pattern>logout.html</url-pattern>
|
---|
145 | </servlet-mapping>
|
---|
146 |
|
---|
147 | <session-config>
|
---|
148 | <session-timeout>5</session-timeout>
|
---|
149 | </session-config>
|
---|
150 |
|
---|
151 | <welcome-file-list>
|
---|
152 | <welcome-file>/index.jsp</welcome-file>
|
---|
153 | </welcome-file-list>
|
---|
154 |
|
---|
155 | <error-page>
|
---|
156 | <error-code>500</error-code>
|
---|
157 | <location>/error500.jsp</location>
|
---|
158 | </error-page>
|
---|
159 |
|
---|
160 | <security-constraint>
|
---|
161 | <web-resource-collection>
|
---|
162 | <web-resource-name>ED Tracking Board XML Services</web-resource-name>
|
---|
163 | <url-pattern>*.xml</url-pattern>
|
---|
164 | <http-method>GET</http-method>
|
---|
165 | <http-method>POST</http-method>
|
---|
166 | </web-resource-collection>
|
---|
167 | <auth-constraint>
|
---|
168 | <role-name>AUTHENTICATED_KAAJEE_USER</role-name>
|
---|
169 | </auth-constraint>
|
---|
170 | <user-data-constraint>
|
---|
171 | <transport-guarantee>NONE</transport-guarantee>
|
---|
172 | </user-data-constraint>
|
---|
173 | </security-constraint>
|
---|
174 |
|
---|
175 | <security-constraint>
|
---|
176 | <web-resource-collection>
|
---|
177 | <web-resource-name>ED Tracking Board Flex Client</web-resource-name>
|
---|
178 | <url-pattern>*.swf</url-pattern>
|
---|
179 | <url-pattern>tracking.html</url-pattern>
|
---|
180 | <url-pattern>board.html</url-pattern>
|
---|
181 | <http-method>GET</http-method>
|
---|
182 | </web-resource-collection>
|
---|
183 | <auth-constraint>
|
---|
184 | <role-name>AUTHENTICATED_KAAJEE_USER</role-name>
|
---|
185 | </auth-constraint>
|
---|
186 | <user-data-constraint>
|
---|
187 | <transport-guarantee>NONE</transport-guarantee>
|
---|
188 | </user-data-constraint>
|
---|
189 | </security-constraint>
|
---|
190 |
|
---|
191 | <security-constraint>
|
---|
192 | <web-resource-collection>
|
---|
193 | <web-resource-name>ED Tracking Board Debug Screen</web-resource-name>
|
---|
194 | <url-pattern>debug.jsp</url-pattern>
|
---|
195 | <http-method>GET</http-method>
|
---|
196 | </web-resource-collection>
|
---|
197 | <auth-constraint>
|
---|
198 | <role-name>AUTHENTICATED_KAAJEE_USER</role-name>
|
---|
199 | </auth-constraint>
|
---|
200 | <user-data-constraint>
|
---|
201 | <transport-guarantee>NONE</transport-guarantee>
|
---|
202 | </user-data-constraint>
|
---|
203 | </security-constraint>
|
---|
204 |
|
---|
205 | <login-config>
|
---|
206 | <auth-method>FORM</auth-method>
|
---|
207 | <form-login-config>
|
---|
208 | <form-login-page>login/login.jsp</form-login-page>
|
---|
209 | <form-error-page>login/loginerror.jsp</form-error-page>
|
---|
210 | </form-login-config>
|
---|
211 | </login-config>
|
---|
212 |
|
---|
213 | <security-role>
|
---|
214 | <role-name>AUTHENTICATED_KAAJEE_USER</role-name>
|
---|
215 | </security-role>
|
---|
216 | </web-app>
|
---|