2010-12-15 14:15:52 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
|
|
|
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">
|
|
|
|
|
|
|
|
<display-name>HSAdmin</display-name>
|
2010-09-22 18:39:16 +02:00
|
|
|
|
|
|
|
<context-param>
|
|
|
|
<param-name>serverName</param-name>
|
2011-05-17 16:56:34 +02:00
|
|
|
<param-value>https://@ADMIN_HOST@:@ADMIN_PORT@</param-value>
|
2010-09-22 18:39:16 +02:00
|
|
|
</context-param>
|
2010-10-05 21:43:30 +02:00
|
|
|
<context-param>
|
|
|
|
<param-name>backendURL</param-name>
|
2011-05-16 13:54:15 +02:00
|
|
|
<param-value>https://@CONFIG_HOST@:@CONFIG_PORT@/hsar/backend</param-value>
|
2010-10-05 21:43:30 +02:00
|
|
|
</context-param>
|
|
|
|
<context-param>
|
|
|
|
<param-name>xmlrpcURL</param-name>
|
2011-05-16 13:54:15 +02:00
|
|
|
<param-value>https://@CONFIG_HOST@:@CONFIG_PORT@/hsar/xmlrpc/hsadmin</param-value>
|
2010-10-05 21:43:30 +02:00
|
|
|
</context-param>
|
2010-12-15 14:15:52 +01:00
|
|
|
<context-param>
|
|
|
|
<description>Vaadin production mode</description>
|
|
|
|
<param-name>productionMode</param-name>
|
|
|
|
<param-value>false</param-value>
|
|
|
|
</context-param>
|
|
|
|
|
2010-09-21 20:14:58 +02:00
|
|
|
<filter>
|
|
|
|
<filter-name>CAS Authentication Filter</filter-name>
|
|
|
|
<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>casServerLoginUrl</param-name>
|
2011-05-16 13:54:15 +02:00
|
|
|
<param-value>https://@LOGIN_HOST@:@LOGIN_PORT@/cas/login</param-value>
|
2010-09-21 20:14:58 +02:00
|
|
|
</init-param>
|
|
|
|
<init-param>
|
|
|
|
<param-name>service</param-name>
|
2011-05-16 13:54:15 +02:00
|
|
|
<param-value>https://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb</param-value>
|
2010-09-21 20:14:58 +02:00
|
|
|
</init-param>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<filter-name>CAS Validation Filter</filter-name>
|
|
|
|
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>casServerUrlPrefix</param-name>
|
2011-05-16 13:54:15 +02:00
|
|
|
<param-value>https://@LOGIN_HOST@:@LOGIN_PORT@/cas</param-value>
|
2010-09-21 20:14:58 +02:00
|
|
|
</init-param>
|
|
|
|
<init-param>
|
2010-09-22 18:39:16 +02:00
|
|
|
<param-name>proxyReceptorUrl</param-name>
|
|
|
|
<param-value>/proxyCallback</param-value>
|
|
|
|
</init-param>
|
|
|
|
<init-param>
|
|
|
|
<param-name>proxyCallbackUrl</param-name>
|
2011-05-16 13:54:15 +02:00
|
|
|
<param-value>https://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb/proxyCallback</param-value>
|
2010-09-22 18:39:16 +02:00
|
|
|
</init-param>
|
2010-09-21 20:14:58 +02:00
|
|
|
<init-param>
|
|
|
|
<param-name>service</param-name>
|
2011-05-16 13:54:15 +02:00
|
|
|
<param-value>https://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb</param-value>
|
2010-09-21 20:14:58 +02:00
|
|
|
</init-param>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter-mapping>
|
2010-09-22 18:39:16 +02:00
|
|
|
<filter-name>CAS Validation Filter</filter-name>
|
2010-09-21 20:14:58 +02:00
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
</filter-mapping>
|
2010-09-22 18:39:16 +02:00
|
|
|
|
2010-09-21 20:14:58 +02:00
|
|
|
<filter-mapping>
|
2010-09-22 18:39:16 +02:00
|
|
|
<filter-name>CAS Authentication Filter</filter-name>
|
2010-09-21 20:14:58 +02:00
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
</filter-mapping>
|
2010-12-15 14:15:52 +01:00
|
|
|
|
2011-05-17 16:56:34 +02:00
|
|
|
<servlet>
|
|
|
|
<servlet-name>Logout Servlet</servlet-name>
|
|
|
|
<servlet-class>de.hsadmin.logout.LogoutServlet</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>redirect</param-name>
|
|
|
|
<param-value>https://@LOGIN_HOST@:@LOGIN_PORT@/cas/logout</param-value>
|
|
|
|
</init-param>
|
|
|
|
</servlet>
|
|
|
|
|
2010-09-21 20:14:58 +02:00
|
|
|
<servlet>
|
2010-12-15 14:15:52 +01:00
|
|
|
<servlet-name>HSAdmin Web</servlet-name>
|
|
|
|
<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<description>Vaadin application class to start</description>
|
|
|
|
<param-name>application</param-name>
|
2010-12-15 18:22:36 +01:00
|
|
|
<param-value>de.hsadmin.web.MainApplication</param-value>
|
2010-12-15 14:15:52 +01:00
|
|
|
</init-param>
|
2010-09-21 20:14:58 +02:00
|
|
|
</servlet>
|
2011-05-17 16:56:34 +02:00
|
|
|
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>Logout Servlet</servlet-name>
|
|
|
|
<url-pattern>/logout</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
|
2010-09-21 20:14:58 +02:00
|
|
|
<servlet-mapping>
|
2010-12-15 14:15:52 +01:00
|
|
|
<servlet-name>HSAdmin Web</servlet-name>
|
|
|
|
<url-pattern>/*</url-pattern>
|
2010-09-21 20:14:58 +02:00
|
|
|
</servlet-mapping>
|
2011-05-17 16:56:34 +02:00
|
|
|
|
2010-09-21 20:14:58 +02:00
|
|
|
<welcome-file-list>
|
2010-12-15 14:15:52 +01:00
|
|
|
<welcome-file>index.html</welcome-file>
|
2010-09-21 20:14:58 +02:00
|
|
|
<welcome-file>index.jsp</welcome-file>
|
|
|
|
</welcome-file-list>
|
2010-12-15 14:15:52 +01:00
|
|
|
</web-app>
|