]> git.argeo.org Git - gpl/argeo-slc.git/blob - modules/server/org.argeo.slc.server.jackrabbit.derby/repository.xml
Update manifests
[gpl/argeo-slc.git] / modules / server / org.argeo.slc.server.jackrabbit.derby / 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
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
9
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
15 License.
16 -->
17 <!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
18 "http://jackrabbit.apache.org/dtd/repository-1.6.dtd">
19 <!--
20 Example Repository Configuration File Used by -
21 org.apache.jackrabbit.core.config.RepositoryConfigTest.java -
22 -->
23 <Repository>
24 <!--
25 virtual file system where the repository stores global state (e.g.
26 registered namespaces, custom node types, etc.)
27 -->
28 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
29 <param name="path" value="${rep.home}/repository" />
30 </FileSystem>
31
32 <!--
33 security configuration
34 -->
35 <Security appName="Jackrabbit">
36 <!--
37 security manager: class: FQN of class implementing the
38 JackrabbitSecurityManager interface
39 -->
40 <SecurityManager
41 class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager"
42 workspaceName="security">
43 <!--
44 workspace access: class: FQN of class implementing the
45 WorkspaceAccessManager interface
46 -->
47 <!-- <WorkspaceAccessManager class="..."/> -->
48 <!-- <param name="config" value="${rep.home}/security.xml"/> -->
49 </SecurityManager>
50
51 <!--
52 access manager: class: FQN of class implementing the AccessManager
53 interface
54 -->
55 <AccessManager
56 class="org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
57 <!-- <param name="config" value="${rep.home}/access.xml"/> -->
58 </AccessManager>
59
60 <LoginModule
61 class="org.springframework.security.providers.jaas.SecurityContextLoginModule">
62 <!--
63 anonymous user name ('anonymous' is the default value)
64 <param name="anonymousId" value="anonymous" />
65 administrator user id (default value if param is missing is 'admin')
66 <param name="adminId" value="admin" />
67 -->
68 </LoginModule>
69 </Security>
70
71 <!--
72 location of workspaces root directory and name of default workspace
73 -->
74 <Workspaces rootPath="${rep.home}/workspaces"
75 defaultWorkspace="default" />
76 <!--
77 workspace configuration template: used to create the initial workspace
78 if there's no workspace yet
79 -->
80 <Workspace name="${wsp.name}">
81 <!--
82 virtual file system of the workspace: class: FQN of class
83 implementing the FileSystem interface
84 -->
85 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
86 <param name="path" value="${wsp.home}" />
87 </FileSystem>
88 <!--
89 persistence manager of the workspace: class: FQN of class
90 implementing the PersistenceManager interface
91 -->
92 <PersistenceManager
93 class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
94 <!--
95 <param name="url" value="jdbc:derby:memory:db;create=true" />
96 -->
97 <param name="url" value="jdbc:derby:${wsp.home}/db;create=true" />
98 <param name="driver" value="org.apache.derby.jdbc.EmbeddedDriver" />
99 <param name="schemaObjectPrefix" value="${wsp.name}_" />
100 </PersistenceManager>
101 <!--
102 Search index and the file system it uses. class: FQN of class
103 implementing the QueryHandler interface
104 -->
105 <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
106 <param name="path" value="${wsp.home}/index" />
107 <param name="extractorPoolSize" value="2" />
108 <param name="supportHighlighting" value="true" />
109 </SearchIndex>
110 </Workspace>
111
112 <!--
113 Configures the versioning
114 -->
115 <Versioning rootPath="${rep.home}/version">
116 <!--
117 Configures the filesystem to use for versioning for the respective
118 persistence manager
119 -->
120 <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
121 <param name="path" value="${rep.home}/version" />
122 </FileSystem>
123
124 <!--
125 Configures the persistence manager to be used for persisting version
126 state. Please note that the current versioning implementation is
127 based on a 'normal' persistence manager, but this could change in
128 future implementations.
129 -->
130 <PersistenceManager
131 class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
132 <!--
133 <param name="url" value="jdbc:derby:memory:version;create=true" />
134 -->
135 <param name="url" value="jdbc:derby:${rep.home}/version/db;create=true" />
136 <param name="driver" value="org.apache.derby.jdbc.EmbeddedDriver" />
137 <param name="schemaObjectPrefix" value="version_" />
138 </PersistenceManager>
139 </Versioning>
140
141 <!--
142 Search index for content that is shared repository wide (/jcr:system
143 tree, contains mainly versions)
144 -->
145 <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
146 <param name="path" value="${rep.home}/repository/index" />
147 <param name="extractorPoolSize" value="2" />
148 <param name="supportHighlighting" value="true" />
149 </SearchIndex>
150 </Repository>