forked from brix-cms/brix-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
repository-ms.xml
66 lines (63 loc) · 3.04 KB
/
repository-ms.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:mode="http://www.modeshape.org/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0">
<!--
Define the JCR repositories
-->
<mode:repositories>
<!--
Define a JCR repository that accesses the 'Brix' source directly.
-->
<mode:repository jcr:name="Brix repository" mode:source="Brix">
<mode:options jcr:primaryType="mode:options">
<systemSourceName jcr:primaryType="mode:option" mode:value="system@Brix"/>
<!--<jaasLoginConfigName jcr:primaryType="mode:option" mode:value="modeshape-jcr"/>-->
<!--
As a convenience, ModeShape defaults to granting guest users full access.
In a production system, you would want to limit this access by uncommenting one of the
options below:
for no access:
<anonymousUserRoles jcr:PrimaryType="mode:option" mode:value="" />
for read-only acces:
<anonymousUserRoles jcr:PrimaryType="mode:option" mode:value="readonly" />
-->
<anonymousUserRoles jcr:PrimaryType="mode:option" mode:value="admin"/>
</mode:options>
</mode:repository>
</mode:repositories>
<!--
Define the sources for the content. These sources are directly accessible using the ModeShape-specific
Graph API.
-->
<mode:sources jcr:primaryType="nt:unstructured">
<mode:source jcr:name="Brix"
mode:classname="org.modeshape.graph.connector.inmemory.InMemoryRepositorySource"
mode:retryLimit="3" mode:defaultWorkspaceName="default">
<predefinedWorkspaceNames>system</predefinedWorkspaceNames>
</mode:source>
</mode:sources>
<!--
Define the clustering configuration. This is an optional section; leave it out when
running in a non-clustered (single-process) mode.
-->
<!--<mode:clustering clusterName="modeshape-cluster" configuration="jgroups-modeshape.xml"/>-->
<!--
Define the sequencers. This is an optional section.
-->
<!--<mode:sequencers>-->
<!--<mode:sequencer jcr:name="Image Sequencer"-->
<!--mode:classname="org.modeshape.sequencer.image.ImageMetadataSequencer">-->
<!--<mode:description>Image metadata sequencer</mode:description>-->
<!--<mode:pathExpression>/foo/source => /foo/target</mode:pathExpression>-->
<!--<mode:pathExpression>/bar/source => /bar/target</mode:pathExpression>-->
<!--</mode:sequencer>-->
<!--</mode:sequencers>-->
<!--
Define how ModeShape will determine the MIME type of files. This is an optional section;
if you do not specify a MIME type detector, ModeShape will use a built-in one that is based
filename extensions for most commonly-used files.
-->
<!--<mode:mimeTypeDetectors>-->
<!--<mode:mimeTypeDetector jcr:name="Detector"-->
<!--mode:description="Standard extension-based MIME type detector"/>-->
<!--</mode:mimeTypeDetectors>-->
</configuration>