
io.inkstand.scribble.jcr.rules.inMemoryRepository.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scribble-jcr Show documentation
Show all versions of scribble-jcr Show documentation
Java Content Repository (JCR) support, providing JCR specific assertions and various types of content
repositories as Test Rules.
The newest version!
<?xml version="1.0"?> <!-- ~ Copyright 2015-2016 DevCon5 GmbH, [email protected] ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 2.0//EN" "http://jackrabbit.apache.org/dtd/repository-2.0.dtd"> <!-- Configuration for a repository that is held entirely in memory. It provides simple security with an admin user (RW permissions) and an anonymous user (R permission). --> <Repository> <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"/> <DataStore class="org.apache.jackrabbit.core.data.FileDataStore" /> <Security appName="Jackrabbit"> <SecurityManager class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager" workspaceName="security" /> <AccessManager class="org.apache.jackrabbit.core.security.simple.SimpleAccessManager" /> <LoginModule class="org.apache.jackrabbit.core.security.simple.SimpleLoginModule"> <param name="anonymousId" value="anonymous" /> <param name="adminId" value="admin" /> </LoginModule> </Security> <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default" /> <Workspace name="${wsp.name}"> <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"/> <PersistenceManager class="org.apache.jackrabbit.core.persistence.mem.InMemBundlePersistenceManager" /> <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex"> <param name="path" value="${wsp.home}/index" /> <param name="supportHighlighting" value="true" /> </SearchIndex> </Workspace> <Versioning rootPath="${rep.home}/version"> <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"/> <PersistenceManager class="org.apache.jackrabbit.core.persistence.mem.InMemBundlePersistenceManager" /> </Versioning> <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex"> <param name="path" value="${rep.home}/repository/index" /> <param name="supportHighlighting" value="true" /> </SearchIndex> </Repository>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy