View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-jcr/console/trunk/resources/src/main/webapp/WEB-INF/web.xml
Revision: 36592
Committed: Mon Oct 22 10:45:46 2012 UTC (7 years, 7 months ago) by adouma
Content type: text/plain
File size: 4050 byte(s)
Log Message:
JCR-47:  add (simple) rich-text editing capability to jcr-console
- stripping remaining ckeditor references

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 Copyright (C) 2011 Hippo B.V.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 -->
19 <web-app id="jcr-console" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 version="2.5"
21 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
22
23 <display-name>JCR Console</display-name>
24 <description>JCR Console</description>
25
26 <context-param>
27 <param-name>repository.context.path</param-name>
28 <param-value>/repository</param-value>
29 </context-param>
30
31 <context-param>
32 <param-name>contextConfigLocation</param-name>
33 <param-value>
34 /WEB-INF/applicationContext.xml
35 /WEB-INF/applicationContext-security.xml
36 </param-value>
37 </context-param>
38
39 <filter>
40 <filter-name>repositoryServiceFilter</filter-name>
41 <filter-class>org.onehippo.jcr.servlet.ContextRepositoryAvailableFilter</filter-class>
42 </filter>
43
44 <filter>
45 <filter-name>springSecurityFilterChain</filter-name>
46 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
47 </filter>
48
49 <!--Builtin console-->
50 <filter>
51 <filter-name>Console</filter-name>
52 <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
53 <init-param>
54 <param-name>applicationClassName</param-name>
55 <param-value>org.onehippo.jcr.console.engine.Main</param-value>
56 </init-param>
57 <init-param>
58 <param-name>config</param-name>
59 <param-value>console</param-value>
60 </init-param>
61 <init-param>
62 <param-name>configuration</param-name>
63 <param-value>deployment</param-value>
64 </init-param>
65 </filter>
66
67 <filter-mapping>
68 <filter-name>repositoryServiceFilter</filter-name>
69 <url-pattern>/*</url-pattern>
70 </filter-mapping>
71
72 <filter-mapping>
73 <filter-name>springSecurityFilterChain</filter-name>
74 <url-pattern>/*</url-pattern>
75 </filter-mapping>
76
77 <filter-mapping>
78 <filter-name>Console</filter-name>
79 <url-pattern>/nav/*</url-pattern>
80 </filter-mapping>
81
82 <listener>
83 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
84 </listener>
85
86 <listener>
87 <listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
88 </listener>
89
90 <servlet>
91 <servlet-name>contextRepository</servlet-name>
92 <servlet-class>org.onehippo.jcr.servlet.ContextRepositoryServlet</servlet-class>
93 <load-on-startup>1</load-on-startup>
94 </servlet>
95
96 <servlet>
97 <servlet-name>login</servlet-name>
98 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
99 <load-on-startup>1</load-on-startup>
100 </servlet>
101
102 <servlet-mapping>
103 <servlet-name>login</servlet-name>
104 <url-pattern>/login/*</url-pattern>
105 </servlet-mapping>
106
107 <servlet>
108 <servlet-name>ConsoleSkinResourceServlet</servlet-name>
109 <servlet-class>org.onehippo.jcr.console.servlet.ResourceServlet</servlet-class>
110 <init-param>
111 <param-name>jarPathPrefix</param-name>
112 <param-value>/META-INF/console/skin</param-value>
113 </init-param>
114 </servlet>
115
116 <servlet-mapping>
117 <servlet-name>ConsoleSkinResourceServlet</servlet-name>
118 <url-pattern>/skin/*</url-pattern>
119 </servlet-mapping>
120
121 <!-- Timeout in minutes -->
122 <session-config>
123 <session-timeout>60</session-timeout>
124 </session-config>
125
126 <welcome-file-list>
127 <welcome-file>index.jsp</welcome-file>
128 </welcome-file-list>
129
130 </web-app>

Properties

Name Value
svn:mime-type text/plain