]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - server/runtime/org.argeo.server.jackrabbit/src/test/resources/org/argeo/server/jcr/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 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
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.
18 <!DOCTYPE Repository PUBLIC
"-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
19 "http://jackrabbit.apache.org/dtd/repository-1.6.dtd">
20 <!-- Example Repository Configuration File
22 - org.apache.jackrabbit.core.config.RepositoryConfigTest.java
27 virtual file system where the repository stores global state
28 (e.g. registered namespaces, custom node types, etc.)
30 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
31 <param name=
"path" value=
"${rep.home}/repository"/>
35 security configuration
37 <Security appName=
"Jackrabbit">
40 class: FQN of class implementing the JackrabbitSecurityManager interface
42 <SecurityManager class=
"org.apache.jackrabbit.core.security.simple.SimpleSecurityManager" workspaceName=
"security">
45 class: FQN of class implementing the WorkspaceAccessManager interface
47 <!-- <WorkspaceAccessManager class="..."/> -->
48 <!-- <param name="config" value="${rep.home}/security.xml"/> -->
53 class: FQN of class implementing the AccessManager interface
55 <AccessManager class=
"org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
56 <!-- <param name="config" value="${rep.home}/access.xml"/> -->
59 <LoginModule class=
"org.apache.jackrabbit.core.security.simple.SimpleLoginModule">
61 anonymous user name ('anonymous' is the default value)
63 <param name=
"anonymousId" value=
"anonymous"/>
65 administrator user id (default value if param is missing is 'admin')
67 <param name=
"adminId" value=
"admin"/>
72 location of workspaces root directory and name of default workspace
74 <Workspaces rootPath=
"${rep.home}/workspaces" defaultWorkspace=
"default"/>
76 workspace configuration template:
77 used to create the initial workspace if there's no workspace yet
79 <Workspace name=
"${wsp.name}">
81 virtual file system of the workspace:
82 class: FQN of class implementing the FileSystem interface
84 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
85 <param name=
"path" value=
"${wsp.home}"/>
88 persistence manager of the workspace:
89 class: FQN of class implementing the PersistenceManager interface
91 <PersistenceManager class=
"org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
92 <param name=
"url" value=
"jdbc:derby:memory:db;create=true"/>
93 <param name=
"schemaObjectPrefix" value=
"${wsp.name}_"/>
96 Search index and the file system it uses.
97 class: FQN of class implementing the QueryHandler interface
99 <SearchIndex class=
"org.apache.jackrabbit.core.query.lucene.SearchIndex">
100 <param name=
"path" value=
"${wsp.home}/index"/>
101 <param name=
"extractorPoolSize" value=
"2"/>
102 <param name=
"supportHighlighting" value=
"true"/>
107 Configures the versioning
109 <Versioning rootPath=
"${rep.home}/version">
111 Configures the filesystem to use for versioning for the respective
114 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
115 <param name=
"path" value=
"${rep.home}/version" />
119 Configures the persistence manager to be used for persisting version state.
120 Please note that the current versioning implementation is based on
121 a 'normal' persistence manager, but this could change in future
124 <PersistenceManager class=
"org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
125 <param name=
"url" value=
"jdbc:derby:memory:version;create=true"/>
126 <param name=
"schemaObjectPrefix" value=
"version_"/>
127 </PersistenceManager>
131 Search index for content that is shared repository wide
132 (/jcr:system tree, contains mainly versions)
134 <SearchIndex class=
"org.apache.jackrabbit.core.query.lucene.SearchIndex">
135 <param name=
"path" value=
"${rep.home}/repository/index"/>
136 <param name=
"extractorPoolSize" value=
"2"/>
137 <param name=
"supportHighlighting" value=
"true"/>