Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 52 lines (44 sloc) 1.554 kB
baada5d @thesmith initial commit
authored
1 <?xml version="1.0"?>
2 <!DOCTYPE web-app
3 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
4 "http://java.sun.com/dtd/web-app_2_4.dtd">
5
6 <web-app>
7 <display-name>shindig-spring-example web descriptor</display-name>
8
9 <!-- configuration -->
10 <!-- If you have your own Guice module(s), put them here as a colon-separated list. -->
11 <context-param>
12 <param-name>guice-modules</param-name>
13 <param-value>
14 org.apache.shindig.common.PropertiesModule:
15 bbc.social.shindig.example.GuiceModule
16 </param-value>
17 </context-param>
18
19 <!-- Shindig authentication filter -->
20 <filter>
21 <filter-name>authFilter</filter-name>
22 <filter-class>org.apache.shindig.auth.AuthenticationServletFilter</filter-class>
23 </filter>
24
25 <filter-mapping>
26 <filter-name>authFilter</filter-name>
27 <url-pattern>/social/*</url-pattern>
28 </filter-mapping>
29
30 <!-- GuiceServletContextListener -->
31 <listener>
32 <listener-class>org.apache.shindig.common.servlet.GuiceServletContextListener</listener-class>
33 </listener>
34
35 <!-- Serve REST api -->
36 <servlet>
37 <servlet-name>socialRestapiServlet</servlet-name>
38 <servlet-class>
39 org.apache.shindig.protocol.DataServiceServlet
40 </servlet-class>
41 <init-param>
42 <param-name>handlers</param-name>
43 <param-value>org.apache.shindig.social.handlers</param-value>
44 </init-param>
45 </servlet>
46
47 <servlet-mapping>
48 <servlet-name>socialRestapiServlet</servlet-name>
49 <url-pattern>/social/rest/*</url-pattern>
50 </servlet-mapping>
51 </web-app>
Something went wrong with that request. Please try again.