]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.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.
20 PUBLIC
"-//The Apache Software Foundation//DTD Jackrabbit 2.0//EN"
21 "http://jackrabbit.apache.org/dtd/repository-2.0.dtd">
23 <!-- Example Repository Configuration File
25 - org.apache.jackrabbit.core.config.RepositoryConfigTest.java
30 virtual file system where the repository stores global state
31 (e.g. registered namespaces, custom node types, etc.)
33 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
34 <param name=
"path" value=
"${rep.home}/repository"/>
38 data store configuration
40 <DataStore class=
"org.apache.jackrabbit.core.data.FileDataStore"/>
43 security configuration
45 <Security appName=
"Jackrabbit">
48 class: FQN of class implementing the JackrabbitSecurityManager interface
50 <SecurityManager class=
"org.apache.jackrabbit.core.DefaultSecurityManager" workspaceName=
"security">
53 class: FQN of class implementing the WorkspaceAccessManager interface
55 <!-- <WorkspaceAccessManager class="..."/> -->
56 <!-- <param name="config" value="${rep.home}/security.xml"/> -->
61 class: FQN of class implementing the AccessManager interface
63 <AccessManager class=
"org.apache.jackrabbit.core.security.DefaultAccessManager">
64 <!-- <param name="config" value="${rep.home}/access.xml"/> -->
67 <LoginModule class=
"org.apache.jackrabbit.core.security.authentication.DefaultLoginModule">
69 anonymous user name ('anonymous' is the default value)
71 <param name=
"anonymousId" value=
"anonymous"/>
73 administrator user id (default value if param is missing is 'admin')
75 <param name=
"adminId" value=
"admin"/>
80 location of workspaces root directory and name of default workspace
82 <Workspaces rootPath=
"${rep.home}/workspaces" defaultWorkspace=
"default"/>
84 workspace configuration template:
85 used to create the initial workspace if there's no workspace yet
87 <Workspace name=
"${wsp.name}">
89 virtual file system of the workspace:
90 class: FQN of class implementing the FileSystem interface
92 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
93 <param name=
"path" value=
"${wsp.home}"/>
96 persistence manager of the workspace:
97 class: FQN of class implementing the PersistenceManager interface
99 <PersistenceManager class=
"org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager">
100 <param name=
"url" value=
"jdbc:derby:${wsp.home}/db;create=true"/>
101 <param name=
"schemaObjectPrefix" value=
"${wsp.name}_"/>
102 </PersistenceManager>
104 Search index and the file system it uses.
105 class: FQN of class 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=
"supportHighlighting" value=
"true"/>
114 Configures the versioning
116 <Versioning rootPath=
"${rep.home}/version">
118 Configures the filesystem to use for versioning for the respective
121 <FileSystem class=
"org.apache.jackrabbit.core.fs.local.LocalFileSystem">
122 <param name=
"path" value=
"${rep.home}/version" />
126 Configures the persistence manager to be used for persisting version state.
127 Please note that the current versioning implementation is based on
128 a 'normal' persistence manager, but this could change in future
131 <PersistenceManager class=
"org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager">
132 <param name=
"url" value=
"jdbc:derby:${rep.home}/version/db;create=true"/>
133 <param name=
"schemaObjectPrefix" value=
"version_"/>
134 </PersistenceManager>
138 Search index for content that is shared repository wide
139 (/jcr:system tree, contains mainly versions)
141 <SearchIndex class=
"org.apache.jackrabbit.core.query.lucene.SearchIndex">
142 <param name=
"path" value=
"${rep.home}/repository/index"/>
143 <param name=
"supportHighlighting" value=
"true"/>
147 Run with a cluster journal
150 <Journal class=
"org.apache.jackrabbit.core.journal.MemoryJournal"/>