source: DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/webapp/WEB-INF/web-shibboleth.xml @ 5385

Last change on this file since 5385 was 5385, checked in by olhsha@mpi.nl, 10 years ago

ref --> href
+ xml:id for instances
refactoring

File size: 3.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4    Copyright (C) 2013 DASISH
5
6    This program is free software; you can redistribute it and/or
7    modify it under the terms of the GNU General Public License
8    as published by the Free Software Foundation; either version 2
9    of the License, or (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20-->
21
22<!-- This web.xml file is not required when using Servlet 3.0 container,
23see implementation details http://jersey.java.net/nonav/documentation/latest/jax-rs.html#d4e194 -->
24<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">
25    <context-param>
26        <param-name>ShhaaConfigLocation</param-name>
27        <param-value>/WEB-INF/shhaa.xml</param-value>
28    </context-param>
29   
30   
31    <context-param>
32        <param-name>contextConfigLocation</param-name>
33        <param-value>classpath*:spring-config/**/*.xml</param-value>
34    </context-param>
35    <context-param>
36        <param-name>eu.dasish.annotation.backend.schemaLocation</param-name>
37        <param-value>http://lux17.mpi.nl/schemacat/schemas/s15/files/dwan.xsd</param-value>
38    </context-param>
39    <context-param>
40        <param-name>eu.dasish.annotation.backend.logDatabaseLocation</param-name>
41        <param-value>${catalina.base}/logs/dasishDatabase.log</param-value>
42    </context-param>
43    <context-param>
44        <param-name>eu.dasish.annotation.backend.logServerLocation</param-name>
45        <param-value>${catalina.base}/logs/dasishServer.log</param-value>
46    </context-param>
47    <context-param>
48        <param-name>eu.dasish.annotation.backend.isShibbolethSession</param-name>
49        <param-value>true</param-value>
50    </context-param>
51    <context-param>
52        <param-name>eu.dasish.annotation.backend.logout</param-name>
53        <param-value>?shhaaDo=lO</param-value>
54    </context-param>
55   
56   
57    <listener>
58        <listener-class>
59            org.springframework.web.context.ContextLoaderListener
60        </listener-class>
61    </listener>
62    <servlet>
63        <servlet-name>annotator-backend</servlet-name>
64        <servlet-class>
65            com.sun.jersey.spi.spring.container.servlet.SpringServlet
66        </servlet-class>
67        <init-param>
68            <param-name>com.sun.jersey.config.property.packages</param-name>
69            <param-value>eu.dasish.annotation.backend</param-value>
70        </init-param>
71        <load-on-startup>1</load-on-startup>
72    </servlet>
73    <servlet>
74        <servlet-name>ServletAdaptor</servlet-name>
75        <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
76        <load-on-startup>1</load-on-startup>
77    </servlet>
78    <servlet-mapping>
79        <servlet-name>annotator-backend</servlet-name>
80        <url-pattern>/api/*</url-pattern>
81    </servlet-mapping>
82   
83    <servlet-mapping>
84        <servlet-name>ServletAdaptor</servlet-name>
85        <url-pattern>/webresources/*</url-pattern>
86    </servlet-mapping>
87   
88   
89   
90       
91    <!--  Shibboleth filter -->
92   <filter>
93        <filter-name>AAIFilter</filter-name>
94        <filter-class>de.mpg.aai.shhaa.AuthFilter</filter-class>
95    </filter>
96    <filter-mapping>
97        <filter-name>AAIFilter</filter-name>
98        <url-pattern>/*</url-pattern>
99    </filter-mapping>
100   
101   
102</web-app>
103
Note: See TracBrowser for help on using the repository browser.