]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - server/modules/org.argeo.server.jackrabbit.repo/repository.xml
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
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
17 <!DOCTYPE Repository PUBLIC
"-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
18 "http://jackrabbit.apache.org/dtd/repository-1.6.dtd">
20 Example Repository Configuration File Used by -
21 org.apache.jackrabbit.core.config.RepositoryConfigTest.java -
25 virtual file system where the repository stores global state (e.g.
26 registered namespaces, custom node types, etc.)
28 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
29 <param name=
"path" value=
"${rep.home}/repository" />
33 security configuration
35 <Security appName=
"Jackrabbit">
37 security manager: class: FQN of class implementing the
38 JackrabbitSecurityManager interface
41 class=
"org.apache.jackrabbit.core.security.simple.SimpleSecurityManager"
42 workspaceName=
"security">
44 workspace access: class: FQN of class implementing the
45 WorkspaceAccessManager interface
47 <!-- <WorkspaceAccessManager class="..."/> -->
48 <!-- <param name="config" value="${rep.home}/security.xml"/> -->
52 access manager: class: FQN of class implementing the AccessManager
56 class=
"org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
57 <!-- <param name="config" value="${rep.home}/access.xml"/> -->
61 class=
"org.apache.jackrabbit.core.security.simple.SimpleLoginModule">
63 anonymous user name ('anonymous' is the default value)
65 <param name=
"anonymousId" value=
"anonymous" />
67 administrator user id (default value if param is missing is 'admin')
69 <param name=
"adminId" value=
"admin" />
74 location of workspaces root directory and name of default workspace
76 <Workspaces rootPath=
"${rep.home}/workspaces"
77 defaultWorkspace=
"default" />
79 workspace configuration template: used to create the initial workspace
80 if there's no workspace yet
82 <Workspace name=
"${wsp.name}">
84 virtual file system of the workspace: class: FQN of class
85 implementing the FileSystem interface
87 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
88 <param name=
"path" value=
"${wsp.home}" />
91 persistence manager of the workspace: class: FQN of class
92 implementing the PersistenceManager interface
96 class=
"org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
97 <param name=
"url" value=
"jdbc:derby:${wsp.home}/db;create=true"/>
98 <param name=
"schemaObjectPrefix" value=
"${wsp.name}_"/>
102 class="org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager">
103 <param name="url" value="jdbc:hsqldb:mem:db;create=true" />
104 <param name="driver" value="org.hsqldb.jdbcDriver" />
105 <param name="user" value="sa" />
106 <param name="password" value="password" />
107 <param name="schemaObjectPrefix" value="${wsp.name}_" />
108 </PersistenceManager>
111 Search index and the file system it uses. class: FQN of class
112 implementing the QueryHandler interface
114 <SearchIndex class=
"org.apache.jackrabbit.core.query.lucene.SearchIndex">
115 <param name=
"path" value=
"${wsp.home}/index" />
116 <param name=
"extractorPoolSize" value=
"2" />
117 <param name=
"supportHighlighting" value=
"true" />
122 Configures the versioning
124 <Versioning rootPath=
"${rep.home}/version">
126 Configures the filesystem to use for versioning for the respective
129 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
130 <param name=
"path" value=
"${rep.home}/version" />
134 Configures the persistence manager to be used for persisting version
135 state. Please note that the current versioning implementation is
136 based on a 'normal' persistence manager, but this could change in
137 future implementations.
141 class=
"org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
143 value=
"jdbc:derby:${rep.home}/version/db;create=true"/> <param
144 name=
"schemaObjectPrefix" value=
"version_"/> </PersistenceManager>
148 class="org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager">
149 <param name="url" value="jdbc:hsqldb:mem:versions;create=true" />
150 <param name="driver" value="org.hsqldb.jdbcDriver" />
151 <param name="user" value="sa" />
152 <param name="password" value="password" />
153 <param name="schemaObjectPrefix" value="version_" />
154 </PersistenceManager>
159 Search index for content that is shared repository wide (/jcr:system
160 tree, contains mainly versions)
162 <SearchIndex class=
"org.apache.jackrabbit.core.query.lucene.SearchIndex">
163 <param name=
"path" value=
"${rep.home}/repository/index" />
164 <param name=
"extractorPoolSize" value=
"2" />
165 <param name=
"supportHighlighting" value=
"true" />