This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
web.xml
80 lines (71 loc) · 2.53 KB
/
web.xml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2013 headissue GmbH (www.headissue.com)
~
~ Source repository: https://github.com/headissue/pigeon
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU Affero General Public License as
~ published by the Free Software Foundation, either version 3 of the
~ License, or (at your option) any later version.
~
~ This patch is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU Affero General Public License for more details.
~
~ You should have received a copy of the GNU Affero General Public License
~ along with this patch. If not, see <http://www.gnu.org/licenses/agpl.txt/>.
-->
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>headissue pigeon feedback</display-name>
<!--
<context-param>
<description>load this guice module</description>
<param-name>com.headissue.pigeon.guice.Module</param-name>
<param-value>com.headissue.pigeon.setup.DeveloperSetup</param-value>
</context-param>
-->
<listener>
<listener-class>com.headissue.pigeon.PigeonBootstrapListener</listener-class>
</listener>
<!-- Guice -->
<filter>
<filter-name>guiceFilter</filter-name>
<filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>guiceFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- SECURITY ROLES -->
<security-role>
<role-name>pigeon-admin</role-name>
</security-role>
<!-- SECURITY CONSTRAINTS -->
<!--
<security-constraint>
<web-resource-collection>
<web-resource-name>Admin</web-resource-name>
<url-pattern>/admin/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>pigeon-admin</role-name>
</auth-constraint>
</security-constraint>
-->
<!-- LOGIN AUTHENTICATION -->
<!--
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>headissue Pigeon Feedback Admin Area</realm-name>
</login-config>
-->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>