summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/web.xml
blob: 8392e8d494fe7d66ebc6b6c58fbc9a44a42fe152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee" xmlns:web="http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
	version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee">

	<display-name>ecomp-sdk-app-os</display-name>

	<!-- The app can function on a HA cluster -->
	<distributable />

	<session-config>
		<session-timeout>30</session-timeout>
		<tracking-mode>COOKIE</tracking-mode>
	</session-config>
	<filter>
		<filter-name>SecurityXssFilter</filter-name>
		<filter-class>org.onap.portalapp.filter.SecurityXssFilter
		</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>SecurityXssFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	<filter>
		<filter-name>springSessionRepositoryFilter</filter-name>
		<filter-class>org.onap.portalapp.music.filter.MusicSessionRepositoryFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>springSessionRepositoryFilter</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>ERROR</dispatcher>
	</filter-mapping>
	<error-page>
		<location>/WEB-INF/jsp/error.jsp</location>
	</error-page>

</web-app>