commit | author | age
|
e780b1
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
PH |
2 |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 |
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
|
4 |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> |
|
5 |
|
|
6 |
<display-name>HSAdmin</display-name> |
e21fdd
|
7 |
|
PH |
8 |
<context-param> |
|
9 |
<param-name>serverName</param-name> |
3c1480
|
10 |
<param-value>https://@ADMIN_HOST@:@ADMIN_PORT@</param-value> |
e21fdd
|
11 |
</context-param> |
ccf0a7
|
12 |
<context-param> |
PH |
13 |
<param-name>backendURL</param-name> |
ff5521
|
14 |
<param-value>https://@CONFIG_HOST@:@CONFIG_PORT@/hsar/backend</param-value> |
ccf0a7
|
15 |
</context-param> |
PH |
16 |
<context-param> |
|
17 |
<param-name>xmlrpcURL</param-name> |
ff5521
|
18 |
<param-value>https://@CONFIG_HOST@:@CONFIG_PORT@/hsar/xmlrpc/hsadmin</param-value> |
ccf0a7
|
19 |
</context-param> |
e780b1
|
20 |
<context-param> |
PH |
21 |
<description>Vaadin production mode</description> |
|
22 |
<param-name>productionMode</param-name> |
|
23 |
<param-value>false</param-value> |
4cb63d
|
24 |
</context-param> |
e780b1
|
25 |
|
64cb9b
|
26 |
<filter> |
PH |
27 |
<filter-name>CAS Authentication Filter</filter-name> |
|
28 |
<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class> |
|
29 |
<init-param> |
|
30 |
<param-name>casServerLoginUrl</param-name> |
ff5521
|
31 |
<param-value>https://@LOGIN_HOST@:@LOGIN_PORT@/cas/login</param-value> |
64cb9b
|
32 |
</init-param> |
PH |
33 |
<init-param> |
|
34 |
<param-name>service</param-name> |
ff5521
|
35 |
<param-value>https://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb</param-value> |
64cb9b
|
36 |
</init-param> |
PH |
37 |
</filter> |
|
38 |
|
|
39 |
<filter> |
|
40 |
<filter-name>CAS Validation Filter</filter-name> |
|
41 |
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class> |
|
42 |
<init-param> |
|
43 |
<param-name>casServerUrlPrefix</param-name> |
ff5521
|
44 |
<param-value>https://@LOGIN_HOST@:@LOGIN_PORT@/cas</param-value> |
64cb9b
|
45 |
</init-param> |
PH |
46 |
<init-param> |
e21fdd
|
47 |
<param-name>proxyReceptorUrl</param-name> |
PH |
48 |
<param-value>/proxyCallback</param-value> |
|
49 |
</init-param> |
|
50 |
<init-param> |
|
51 |
<param-name>proxyCallbackUrl</param-name> |
ff5521
|
52 |
<param-value>https://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb/proxyCallback</param-value> |
e21fdd
|
53 |
</init-param> |
64cb9b
|
54 |
<init-param> |
PH |
55 |
<param-name>service</param-name> |
ff5521
|
56 |
<param-value>https://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb</param-value> |
64cb9b
|
57 |
</init-param> |
PH |
58 |
</filter> |
|
59 |
|
|
60 |
<filter-mapping> |
|
61 |
<filter-name>CAS Validation Filter</filter-name> |
|
62 |
<url-pattern>/*</url-pattern> |
|
63 |
</filter-mapping> |
|
64 |
|
e21fdd
|
65 |
<filter-mapping> |
PH |
66 |
<filter-name>CAS Authentication Filter</filter-name> |
|
67 |
<url-pattern>/*</url-pattern> |
|
68 |
</filter-mapping> |
64cb9b
|
69 |
|
e780b1
|
70 |
<servlet> |
3c1480
|
71 |
<servlet-name>Logout Servlet</servlet-name> |
PH |
72 |
<servlet-class>de.hsadmin.logout.LogoutServlet</servlet-class> |
|
73 |
<init-param> |
|
74 |
<param-name>redirect</param-name> |
|
75 |
<param-value>https://@LOGIN_HOST@:@LOGIN_PORT@/cas/logout</param-value> |
|
76 |
</init-param> |
|
77 |
</servlet> |
|
78 |
|
|
79 |
<servlet> |
e780b1
|
80 |
<servlet-name>HSAdmin Web</servlet-name> |
PH |
81 |
<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class> |
|
82 |
<init-param> |
|
83 |
<description>Vaadin application class to start</description> |
|
84 |
<param-name>application</param-name> |
4cb63d
|
85 |
<param-value>de.hsadmin.web.MainApplication</param-value> |
e780b1
|
86 |
</init-param> |
PH |
87 |
</servlet> |
3c1480
|
88 |
|
PH |
89 |
<servlet-mapping> |
|
90 |
<servlet-name>Logout Servlet</servlet-name> |
|
91 |
<url-pattern>/logout</url-pattern> |
|
92 |
</servlet-mapping> |
|
93 |
|
e780b1
|
94 |
<servlet-mapping> |
PH |
95 |
<servlet-name>HSAdmin Web</servlet-name> |
|
96 |
<url-pattern>/*</url-pattern> |
|
97 |
</servlet-mapping> |
3c1480
|
98 |
|
64cb9b
|
99 |
<welcome-file-list> |
e780b1
|
100 |
<welcome-file>index.html</welcome-file> |
64cb9b
|
101 |
<welcome-file>index.jsp</welcome-file> |
PH |
102 |
</welcome-file-list> |
e780b1
|
103 |
</web-app> |