]> git.argeo.org Git - lgpl/argeo-commons.git/blob - sandbox/runtime/org.argeo.sandbox.jackrabbit/repository.xml
[maven-release-plugin] copy for tag argeo-commons-0.2.1
[lgpl/argeo-commons.git] / sandbox / runtime / org.argeo.sandbox.jackrabbit / repository.xml
1 <?xml version="1.0"?>
2 <!--
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
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
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.
17 -->
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
21 Used by
22 - org.apache.jackrabbit.core.config.RepositoryConfigTest.java
23 -
24 -->
25 <Repository>
26 <!--
27 virtual file system where the repository stores global state
28 (e.g. registered namespaces, custom node types, etc.)
29 -->
30 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
31 <param name="path" value="${rep.home}/repository"/>
32 </FileSystem>
33
34 <!--
35 security configuration
36 -->
37 <Security appName="Jackrabbit">
38 <!--
39 security manager:
40 class: FQN of class implementing the JackrabbitSecurityManager interface
41 -->
42 <SecurityManager class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager" workspaceName="security">
43 <!--
44 workspace access:
45 class: FQN of class implementing the WorkspaceAccessManager interface
46 -->
47 <!-- <WorkspaceAccessManager class="..."/> -->
48 <!-- <param name="config" value="${rep.home}/security.xml"/> -->
49 </SecurityManager>
50
51 <!--
52 access manager:
53 class: FQN of class implementing the AccessManager interface
54 -->
55 <AccessManager class="org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
56 <!-- <param name="config" value="${rep.home}/access.xml"/> -->
57 </AccessManager>
58
59 <LoginModule class="org.apache.jackrabbit.core.security.simple.SimpleLoginModule">
60 <!--
61 anonymous user name ('anonymous' is the default value)
62 -->
63 <param name="anonymousId" value="anonymous"/>
64 <!--
65 administrator user id (default value if param is missing is 'admin')
66 -->
67 <param name="adminId" value="admin"/>
68 </LoginModule>
69 </Security>
70
71 <!--
72 location of workspaces root directory and name of default workspace
73 -->
74 <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
75 <!--
76 workspace configuration template:
77 used to create the initial workspace if there's no workspace yet
78 -->
79 <Workspace name="${wsp.name}">
80 <!--
81 virtual file system of the workspace:
82 class: FQN of class implementing the FileSystem interface
83 -->
84 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
85 <param name="path" value="${wsp.home}"/>
86 </FileSystem>
87 <!--
88 persistence manager of the workspace:
89 class: FQN of class implementing the PersistenceManager interface
90 -->
91 <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
92 <param name="url" value="jdbc:derby:${wsp.home}/db;create=true"/>
93 <param name="schemaObjectPrefix" value="${wsp.name}_"/>
94 </PersistenceManager>
95 <!--
96 Search index and the file system it uses.
97 class: FQN of class implementing the QueryHandler interface
98 -->
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"/>
103 </SearchIndex>
104 </Workspace>
105
106 <!--
107 Configures the versioning
108 -->
109 <Versioning rootPath="${rep.home}/version">
110 <!--
111 Configures the filesystem to use for versioning for the respective
112 persistence manager
113 -->
114 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
115 <param name="path" value="${rep.home}/version" />
116 </FileSystem>
117
118 <!--
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
122 implementations.
123 -->
124 <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
125 <param name="url" value="jdbc:derby:${rep.home}/version/db;create=true"/>
126 <param name="schemaObjectPrefix" value="version_"/>
127 </PersistenceManager>
128 </Versioning>
129
130 <!--
131 Search index for content that is shared repository wide
132 (/jcr:system tree, contains mainly versions)
133 -->
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"/>
138 </SearchIndex>
139 </Repository>