]> git.argeo.org Git - gpl/argeo-slc.git/blob - modules/server/org.argeo.slc.server.jcr/repository.xml
Release 0.12.1.D20100420_1832
[gpl/argeo-slc.git] / modules / server / org.argeo.slc.server.jcr / repository.xml
1 <?xml version="1.0"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version
7 2.0 (the "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0 Unless required by
11 applicable law or agreed to in writing, software distributed under the
12 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
13 CONDITIONS OF ANY KIND, either express or implied. See the License for
14 the specific language governing permissions and limitations under the
15 License.
16 -->
17 <!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
18 "http://jackrabbit.apache.org/dtd/repository-1.6.dtd">
19 <!--
20 Example Repository Configuration File Used by -
21 org.apache.jackrabbit.core.config.RepositoryConfigTest.java -
22 -->
23 <Repository>
24 <!--
25 virtual file system where the repository stores global state (e.g.
26 registered namespaces, custom node types, etc.)
27 -->
28 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
29 <param name="path" value="${rep.home}/repository" />
30 </FileSystem>
31
32 <!--
33 security configuration
34 -->
35 <Security appName="Jackrabbit">
36 <!--
37 security manager: class: FQN of class implementing the
38 JackrabbitSecurityManager interface
39 -->
40 <SecurityManager
41 class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager"
42 workspaceName="security">
43 <!--
44 workspace access: class: FQN of class implementing the
45 WorkspaceAccessManager interface
46 -->
47 <!-- <WorkspaceAccessManager class="..."/> -->
48 <!-- <param name="config" value="${rep.home}/security.xml"/> -->
49 </SecurityManager>
50
51 <!--
52 access manager: class: FQN of class implementing the AccessManager
53 interface
54 -->
55 <AccessManager
56 class="org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
57 <!-- <param name="config" value="${rep.home}/access.xml"/> -->
58 </AccessManager>
59
60 <LoginModule
61 class="org.apache.jackrabbit.core.security.simple.SimpleLoginModule">
62 <!--
63 anonymous user name ('anonymous' is the default value)
64 -->
65 <param name="anonymousId" value="anonymous" />
66 <!--
67 administrator user id (default value if param is missing is 'admin')
68 -->
69 <param name="adminId" value="admin" />
70 </LoginModule>
71 </Security>
72
73 <!--
74 location of workspaces root directory and name of default workspace
75 -->
76 <Workspaces rootPath="${rep.home}/workspaces"
77 defaultWorkspace="default" />
78 <!--
79 workspace configuration template: used to create the initial workspace
80 if there's no workspace yet
81 -->
82 <Workspace name="${wsp.name}">
83 <!--
84 virtual file system of the workspace: class: FQN of class
85 implementing the FileSystem interface
86 -->
87 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
88 <param name="path" value="${wsp.home}" />
89 </FileSystem>
90 <!--
91 persistence manager of the workspace: class: FQN of class
92 implementing the PersistenceManager interface
93 -->
94 <PersistenceManager
95 class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
96 <!--
97 <param name="url" value="jdbc:derby:memory:db;create=true" />
98 -->
99 <param name="url" value="jdbc:derby:${wsp.home}/db;create=true" />
100 <param name="driver" value="org.apache.derby.jdbc.EmbeddedDriver" />
101 <param name="schemaObjectPrefix" value="${wsp.name}_" />
102 </PersistenceManager>
103 <!--
104 Search index and the file system it uses. class: FQN of class
105 implementing the QueryHandler interface
106 -->
107 <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
108 <param name="path" value="${wsp.home}/index" />
109 <param name="extractorPoolSize" value="2" />
110 <param name="supportHighlighting" value="true" />
111 </SearchIndex>
112 </Workspace>
113
114 <!--
115 Configures the versioning
116 -->
117 <Versioning rootPath="${rep.home}/version">
118 <!--
119 Configures the filesystem to use for versioning for the respective
120 persistence manager
121 -->
122 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
123 <param name="path" value="${rep.home}/version" />
124 </FileSystem>
125
126 <!--
127 Configures the persistence manager to be used for persisting version
128 state. Please note that the current versioning implementation is
129 based on a 'normal' persistence manager, but this could change in
130 future implementations.
131 -->
132 <PersistenceManager
133 class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
134 <!--
135 <param name="url" value="jdbc:derby:memory:version;create=true" />
136 -->
137 <param name="url" value="jdbc:derby:${rep.home}/version/db;create=true" />
138 <param name="driver" value="org.apache.derby.jdbc.EmbeddedDriver" />
139 <param name="schemaObjectPrefix" value="version_" />
140 </PersistenceManager>
141 </Versioning>
142
143 <!--
144 Search index for content that is shared repository wide (/jcr:system
145 tree, contains mainly versions)
146 -->
147 <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
148 <param name="path" value="${rep.home}/repository/index" />
149 <param name="extractorPoolSize" value="2" />
150 <param name="supportHighlighting" value="true" />
151 </SearchIndex>
152 </Repository>