Date: 2004-11-03T22:07:57
Editor: JamesMason <[EMAIL PROTECTED]>
Wiki: Jakarta-Slide Wiki
Page: DataNode
URL: http://wiki.apache.org/jakarta-slide/DataNode
Clarification of purposes of different nodes
Change Log:
------------------------------------------------------------------------------
@@ -3,6 +3,10 @@
In Slide an ObjectNode exists for each User, Role, Action. These ObjectNodes are part
of the Namespace.
The entries below configure ObjectNodes according to paths (uri) and what class
implementation to utilize.
+This <data> section is loaded when Slide first starts and provides a way to
initialize Stores. After Slide
+has started all sections of the repository can be manipulated through WebDAV or
directly through the server
+API.
+
{{{
<data>
<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/">
@@ -38,8 +42,9 @@
==== Users ====
-From my understanding, Slide stores all user authentication and permissions in this
section of the domain.xml file.
-Personally I think it would be a lot more practical to store this data outside of
this file, either in a separate file or ideally using a database or ldap. In a
production environment where you have thousands of users and thousands of changes to
manage, this would become very hard to manage.
+Slide populates the initial users from this section of the domain.xml file. See
[http://jakarta.apache.org/slide/howto-create-users.html Creating Users]
+for instructions to add users at runtime. See
[http://greenbytes.de/tech/webdav/draft-ietf-webdav-acl-13.html#principal.properties
Principal Properties]
+of the [http://www.webdav.org/acl/protocol/draft-ietf-webdav-acl-13.htm WebDAV ACL]
specification for more information on users.
{{{
<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users">
@@ -88,6 +93,9 @@
==== Roles ====
+These are the initial Roles available in Slide. The most important role here is
/roles/root, since this role is
+given write permissions over the entire repository by default.
+
{{{
<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles">
<permission action="all" subject="self" inheritable="true"/>
@@ -124,7 +132,10 @@
</objectnode>
}}}
-==== Action ====
+==== Actions ====
+
+These are the WebDAV
[http://greenbytes.de/tech/webdav/draft-ietf-webdav-acl-13.html#privileges Privileges]
that Slide's default security implementation
+understands.
{{{
<objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]