Date: 2004-11-03T12:38:21
Editor: BrianLee <[EMAIL PROTECTED]>
Wiki: Jakarta-Slide Wiki
Page: DomainConfig
URL: http://wiki.apache.org/jakarta-slide/DomainConfig
no comment
Change Log:
------------------------------------------------------------------------------
@@ -1,12 +1,12 @@
##language:en
-== Domain.xml General Information ==
+=== Domain.xml General Information ===
Work in progress
For more information:
MultiStoreConfig - examples and information on configuring Domain.xml for multiple
stores
-=== Default Domain.xml (as found in 2.1b2 bundle) ===
+== Default Domain.xml (as found in 2.1b2 bundle) ==
{{{
<?xml version="1.0"?>
<slide>
@@ -154,7 +154,12 @@
</objectnode>
<objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles/user">
<revision>
- <property name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/john</D:href><D:href xmlns:D='DAV:'>/users/john2</D:href><D:href
xmlns:D='DAV:'>/users/root</D:href><D:href
xmlns:D='DAV:'>/users/projector</D:href>]]></property>
+ <property name="group-member-set">
+<![CDATA[<D:href xmlns:D='DAV:'>/users/john</D:href>
+<D:href xmlns:D='DAV:'>/users/john2</D:href>
+<D:href xmlns:D='DAV:'>/users/root</D:href>
+<D:href xmlns:D='DAV:'>/users/projector</D:href>]]>
+</property>
</revision>
</objectnode>
<objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles/guest">
@@ -164,7 +169,10 @@
</objectnode>
<objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles/projector">
<revision>
- <property name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/root</D:href><D:href
xmlns:D='DAV:'>/users/projector</D:href>]]></property>
+ <property name="group-member-set">
+<![CDATA[<D:href xmlns:D='DAV:'>/users/root</D:href>
+<D:href xmlns:D='DAV:'>/users/projector</D:href>]]>
+</property>
</revision>
</objectnode>
</objectnode>
@@ -172,7 +180,10 @@
<objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions">
<objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/read">
<revision>
- <property name="privilege-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/actions/read-acl</D:href> <D:href
xmlns:D='DAV:'>/actions/read-current-user-privilege-set</D:href>]]></property>
+ <property name="privilege-member-set">
+<![CDATA[<D:href xmlns:D='DAV:'>/actions/read-acl</D:href>
+ <D:href xmlns:D='DAV:'>/actions/read-current-user-privilege-set</D:href>]]>
+</property>
</revision>
</objectnode>
<objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/read-acl">
@@ -187,7 +198,10 @@
</objectnode>
<objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/write">
<revision>
- <property name="privilege-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/actions/write-acl</D:href> <D:href
xmlns:D='DAV:'>/actions/write-properties</D:href> <D:href
xmlns:D='DAV:'>/actions/write-content</D:href>]]></property>
+ <property name="privilege-member-set">
+<![CDATA[<D:href xmlns:D='DAV:'>/actions/write-acl</D:href>
+<D:href xmlns:D='DAV:'>/actions/write-properties</D:href>
+<D:href xmlns:D='DAV:'>/actions/write-content</D:href>]]></property>
</revision>
</objectnode>
<objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/write-acl">
@@ -202,7 +216,10 @@
</objectnode>
<objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/write-content">
<revision>
- <property name="privilege-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/actions/bind</D:href> <D:href
xmlns:D='DAV:'>/actions/unbind</D:href>]]></property>
+ <property name="privilege-member-set">
+<![CDATA[<D:href xmlns:D='DAV:'>/actions/bind</D:href>
+<D:href xmlns:D='DAV:'>/actions/unbind</D:href>]]>
+</property>
</revision>
</objectnode>
<objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/bind">
@@ -392,12 +409,11 @@
</slide>
}}}
-=== Definition ===
+== Definition ==
From my understanding, the definition section sets where all the data concerning
different parts of Slide will be stored.
In the example all sub-stores (lock, content, etc...) are stored using
"org.apache.slide.store.txfile.TxXMLFileDescriptorsStore", which
essentially stores data in an XML formatted file.
-=== Default Example ===
{{{
<definition>
<store name="tx">
@@ -441,12 +457,21 @@
</definition>
}}}
-=== Definition Using JDBC ===
+== Reference ==
+
+{{{
+<securitystore>
+ <reference store="nodestore"/>
+</securitystore>
+}}}
+
+"The reference means that for the security store the same object is used as is, is
configured at the node store."
+
+== Definition Using JDBC ==
Ofcourse, for ease of maintenance most people will probably want to use a database to
store most of the data related to Slide. In the example below,
most sub-stores (except content) are using the JDBC configured nodestore.
-=== JDBC Definition Example ===
{{{
<definition>
<store name="JDBCStore">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]