]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - server/runtime/org.argeo.server.jcr/src/test/resources/org/argeo/server/jcr/repository.xml
db6bfa74256b10d8ed8ee2facdeae37d1c4349b5
4 Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
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
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.
20 <!DOCTYPE Repository PUBLIC
"-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
21 "http://jackrabbit.apache.org/dtd/repository-1.6.dtd">
22 <!-- Example Repository Configuration File
24 - org.apache.jackrabbit.core.config.RepositoryConfigTest.java
29 virtual file system where the repository stores global state
30 (e.g. registered namespaces, custom node types, etc.)
32 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
33 <param name=
"path" value=
"${rep.home}/repository"/>
37 security configuration
39 <Security appName=
"Jackrabbit">
42 class: FQN of class implementing the JackrabbitSecurityManager interface
44 <SecurityManager class=
"org.apache.jackrabbit.core.security.simple.SimpleSecurityManager" workspaceName=
"security">
47 class: FQN of class implementing the WorkspaceAccessManager interface
49 <!-- <WorkspaceAccessManager class="..."/> -->
50 <!-- <param name="config" value="${rep.home}/security.xml"/> -->
55 class: FQN of class implementing the AccessManager interface
57 <AccessManager class=
"org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
58 <!-- <param name="config" value="${rep.home}/access.xml"/> -->
61 <LoginModule 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" defaultWorkspace=
"default"/>
78 workspace configuration template:
79 used to create the initial workspace if there's no workspace yet
81 <Workspace name=
"${wsp.name}">
83 virtual file system of the workspace:
84 class: FQN of class implementing the FileSystem interface
86 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
87 <param name=
"path" value=
"${wsp.home}"/>
90 persistence manager of the workspace:
91 class: FQN of class implementing the PersistenceManager interface
93 <PersistenceManager class=
"org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
94 <param name=
"url" value=
"jdbc:derby:memory:db;create=true"/>
95 <param name=
"schemaObjectPrefix" value=
"${wsp.name}_"/>
98 Search index and the file system it uses.
99 class: FQN of class implementing the QueryHandler interface
101 <SearchIndex class=
"org.apache.jackrabbit.core.query.lucene.SearchIndex">
102 <param name=
"path" value=
"${wsp.home}/index"/>
103 <param name=
"extractorPoolSize" value=
"2"/>
104 <param name=
"supportHighlighting" value=
"true"/>
109 Configures the versioning
111 <Versioning rootPath=
"${rep.home}/version">
113 Configures the filesystem to use for versioning for the respective
116 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
117 <param name=
"path" value=
"${rep.home}/version" />
121 Configures the persistence manager to be used for persisting version state.
122 Please note that the current versioning implementation is based on
123 a 'normal' persistence manager, but this could change in future
126 <PersistenceManager class=
"org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
127 <param name=
"url" value=
"jdbc:derby:memory:version;create=true"/>
128 <param name=
"schemaObjectPrefix" value=
"version_"/>
129 </PersistenceManager>
133 Search index for content that is shared repository wide
134 (/jcr:system tree, contains mainly versions)
136 <SearchIndex class=
"org.apache.jackrabbit.core.query.lucene.SearchIndex">
137 <param name=
"path" value=
"${rep.home}/repository/index"/>
138 <param name=
"extractorPoolSize" value=
"2"/>
139 <param name=
"supportHighlighting" value=
"true"/>