]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - server/runtime/org.argeo.server.jackrabbit/src/main/resources/org/argeo/server/jackrabbit/repository-inMemory.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
95 class=
"org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
97 <param name="url" value="jdbc:derby:memory:db;create=true" />
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>
104 Search index and the file system it uses. class: FQN of class
105 implementing the QueryHandler interface
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" />
115 Configures the versioning
117 <Versioning rootPath=
"${rep.home}/version">
119 Configures the filesystem to use for versioning for the respective
122 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
123 <param name=
"path" value=
"${rep.home}/version" />
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.
133 class=
"org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
135 <param name="url" value="jdbc:derby:memory:version;create=true" />
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>
144 Search index for content that is shared repository wide (/jcr:system
145 tree, contains mainly versions)
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" />