jakarta-slide-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pne...@apache.org
Subject cvs commit: jakarta-slide/src/conf/webapp Domain.xml
Date Fri, 31 May 2002 12:08:54 GMT
pnever      2002/05/31 05:08:54

  Modified:    src/conf/webapp Domain.xml
  Log:
  Minor changes in the description of DeltaV parameters
  
  Revision  Changes    Path
  1.34      +181 -175  jakarta-slide/src/conf/webapp/Domain.xml
  
  Index: Domain.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/conf/webapp/Domain.xml,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- Domain.xml	22 May 2002 13:45:01 -0000	1.33
  +++ Domain.xml	31 May 2002 12:08:54 -0000	1.34
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   <slide logger="org.apache.slide.util.logger.SimpleLogger" logger-level="6" default="slide">
  -	<!--
  +    <!--
   logger
   ~~~~~~
   org.apache.slide.util.logger.SimpleLogger 
  @@ -18,41 +18,41 @@
   6 INFO
   7 DEBUG
   -->
  -	<namespace name="slide">
  -		<!-- ### Memory Configuration ###
  +    <namespace name="slide">
  +        <!-- ### Memory Configuration ###
        The following memory configuration uses the MemoryDescriptorsStore
        for node,security,locks and revisions. For content the FileContentStore
        is used. Content is reset before start.
   -->
  -		<definition>
  -			<store name="memory">
  -				<nodestore classname="slidestore.reference.MemoryDescriptorsStore"/>
  -				<securitystore>
  -					<reference store="nodestore"/>
  -				</securitystore>
  -				<lockstore>
  -					<reference store="nodestore"/>
  -				</lockstore>
  -				<revisiondescriptorsstore>
  -					<reference store="nodestore"/>
  -				</revisiondescriptorsstore>
  -				<revisiondescriptorstore>
  -					<reference store="nodestore"/>
  -				</revisiondescriptorstore>
  -				<contentstore classname="slidestore.reference.FileContentStore">
  -					<parameter name="rootpath">contentstore</parameter>
  -					<parameter name="version">false</parameter>
  -					<parameter name="resetBeforeStarting">true</parameter>
  -				</contentstore>
  -			</store>
  -			<scope match="/" store="memory"/>
  -		</definition>
  -		<!-- ### JDBC Configuration ###
  +        <definition>
  +            <store name="memory">
  +                <nodestore classname="slidestore.reference.MemoryDescriptorsStore"/>
  +                <securitystore>
  +                    <reference store="nodestore"/>
  +                </securitystore>
  +                <lockstore>
  +                    <reference store="nodestore"/>
  +                </lockstore>
  +                <revisiondescriptorsstore>
  +                    <reference store="nodestore"/>
  +                </revisiondescriptorsstore>
  +                <revisiondescriptorstore>
  +                    <reference store="nodestore"/>
  +                </revisiondescriptorstore>
  +                <contentstore classname="slidestore.reference.FileContentStore">
  +                    <parameter name="rootpath">contentstore</parameter>
  +                    <parameter name="version">false</parameter>
  +                    <parameter name="resetBeforeStarting">true</parameter>
  +                </contentstore>
  +            </store>
  +            <scope match="/" store="memory"/>
  +        </definition>
  +        <!-- ### JDBC Configuration ###
        The following jdbc sample configuration uses the hsql Database Engine
        a relational database engine written in Java, for more info: 
        http://hsqldb.sourceforge.net/ 
   -->
  -		<!--
  +        <!--
       <definition>
         <store name="jdbc">
           <nodestore classname="slidestore.reference.JDBCDescriptorsStore">
  @@ -83,176 +83,182 @@
         <scope match="/" store="jdbc" />
       </definition>
   -->
  -		<!-- ### Mixed JDBC - Filesystem ###
  +        <!-- ### Mixed JDBC - Filesystem ###
        stores: slidestore.reference.JDBCDescriptorsStore
                slidestore.reference.FileContentStore
        !!! set resetBeforeStarting parameter for FileContentStore to false !!!
   -->
  -		<!-- ### Cloudscape configuration (embedded database) ###
  +        <!-- ### Cloudscape configuration (embedded database) ###
        stores: slidestore.cloudscape.CloudscapeDescriptorsStore
                slidestore.cloudscape.CloudscapeContentStore
        driver: COM.cloudscape.core.JDBCDriver
        url:    jdbc:cloudscape:slidestructure;create=true
                jdbc:cloudscape:slidecontent;create=true
   -->
  -		<!-- ### Oracle configuration (thin driver) ###
  +        <!-- ### Oracle configuration (thin driver) ###
        stores: slidestore.reference.JDBCDescriptorsStore
                slidestore.oracle.OracleContentStore
        driver: oracle.jdbc.OracleDriver
        url:    jdbc:oracle:thin:@localhost:1521:slide
   -->
  -		<configuration>
  -			<!-- Actions mapping -->
  -			<default-action>/actions</default-action>
  -			<read-object>/actions/read</read-object>
  -			<create-object>/actions/write</create-object>
  -			<remove-object>/actions/write</remove-object>
  -			<grant-permission>/actions/manage</grant-permission>
  -			<revoke-permission>/actions/manage</revoke-permission>
  -			<read-permissions>/actions/manage</read-permissions>
  -			<lock-object>/actions/write</lock-object>
  -			<kill-lock>/actions/manage</kill-lock>
  -			<read-locks>/actions/read</read-locks>
  -			<read-revision-metadata>/actions/read</read-revision-metadata>
  -			<create-revision-metadata>/actions/write</create-revision-metadata>
  -			<modify-revision-metadata>/actions/write</modify-revision-metadata>
  -			<remove-revision-metadata>/actions/write</remove-revision-metadata>
  -			<read-revision-content>/actions/read</read-revision-content>
  -			<create-revision-content>/actions/write</create-revision-content>
  -			<modify-revision-content>/actions/write</modify-revision-content>
  -			<remove-revision-content>/actions/write</remove-revision-content>
  -			<!-- Paths configuration -->
  -			<userspath>/users</userspath>
  -			<guestpath>guest</guestpath>
  -			<filespath>/files</filespath>
  -			<parameter name="dav">true</parameter>
  -			<parameter name="standalone">true</parameter>
  -			<!-- Roles definition -->
  -			<role name="root">slideroles.basic.RootRole</role>
  -			<role name="user">slideroles.basic.UserRole</role>
  -			<role name="guest">slideroles.basic.GuestRole</role>
  -			<!-- Users management -->
  -			<auto-create-users>true</auto-create-users>
  -			<!-- Default properties mapping -->
  -			<default-property name="foo" namespace="nsfoo/" value="bar" role="user"/>
  -			<default-property name="password" namespace="slide/" value="" role="user"/>
  -		</configuration>
  -		<data>
  -			<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/">
  -				<!-- Subject can be:
  +        <configuration>
  +            <!-- Actions mapping -->
  +            <default-action>/actions</default-action>
  +            <read-object>/actions/read</read-object>
  +            <create-object>/actions/write</create-object>
  +            <remove-object>/actions/write</remove-object>
  +            <grant-permission>/actions/manage</grant-permission>
  +            <revoke-permission>/actions/manage</revoke-permission>
  +            <read-permissions>/actions/manage</read-permissions>
  +            <lock-object>/actions/write</lock-object>
  +            <kill-lock>/actions/manage</kill-lock>
  +            <read-locks>/actions/read</read-locks>
  +            <read-revision-metadata>/actions/read</read-revision-metadata>
  +            <create-revision-metadata>/actions/write</create-revision-metadata>
  +            <modify-revision-metadata>/actions/write</modify-revision-metadata>
  +            <remove-revision-metadata>/actions/write</remove-revision-metadata>
  +            <read-revision-content>/actions/read</read-revision-content>
  +            <create-revision-content>/actions/write</create-revision-content>
  +            <modify-revision-content>/actions/write</modify-revision-content>
  +            <remove-revision-content>/actions/write</remove-revision-content>
  +            <!-- Paths configuration -->
  +            <userspath>/users</userspath>
  +            <guestpath>guest</guestpath>
  +            <filespath>/files</filespath>
  +            <parameter name="dav">true</parameter>
  +            <parameter name="standalone">true</parameter>
  +            <!-- Roles definition -->
  +            <role name="root">slideroles.basic.RootRole</role>
  +            <role name="user">slideroles.basic.UserRole</role>
  +            <role name="guest">slideroles.basic.GuestRole</role>
  +            <!-- Users management -->
  +            <auto-create-users>true</auto-create-users>
  +            <!-- Default properties mapping -->
  +            <default-property name="foo" namespace="nsfoo/" value="bar" role="user"/>
  +            <default-property name="password" namespace="slide/" value="" role="user"/>
  +        </configuration>
  +        <data>
  +            <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/">
  +                <!-- Subject can be:
                   self  "~"
                   all   "nobody"
                   user  "/users/john"
                   group "+/users/groupA"
                   role  "root"
           -->
  -				<!-- Uncomment the following line to give all permissions to 
  +                <!-- Uncomment the following line to give all permissions to 
                principals have the root role -->
  -				<!-- <permission action="/actions" subject="root"/> -->
  -				<permission action="/actions" subject="/users/root"/>
  -				<permission action="/actions/read" subject="/users" inheritable="false"/>
  -				<permission action="/actions/read" subject="nobody" inheritable="false"/>
  -				<!-- /users -->
  -				<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users">
  -					<permission action="/actions" subject="~"/>
  -					<permission action="/actions" subject="/users/guest" inheritable="true" negative="true"/>
  -					<permission action="/actions/read" subject="/users" inheritable="false"/>
  -					<!-- Permission group example -->
  -					<objectnode classname="org.apache.slide.structure.GroupNode" uri="/users/groupA">
  -						<objectnode classname="org.apache.slide.structure.LinkNode" uri="/users/groupA/john"
linkedUri="/users/john"/>
  -						<objectnode classname="org.apache.slide.structure.LinkNode" uri="/users/groupA/root"
linkedUri="/users/root"/>
  -						<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/groupA/singleGroupMember"/>
  -					</objectnode>
  -					<!-- /users/root represents the administrator -->
  -					<objectnode classname="slideroles.basic.RootRoleImpl" uri="/users/root">
  -						<revision>
  -							<property name="password">root</property>
  -						</revision>
  -					</objectnode>
  -					<!-- /users/john represents an authenticated user -->
  -					<objectnode classname="slideroles.basic.UserRoleImpl" uri="/users/john">
  -						<revision>
  -							<property name="password">john</property>
  -						</revision>
  -					</objectnode>
  -					<!-- /users/guest represents an authenticated or unauthenticated 
  +                <!-- <permission action="/actions" subject="root"/> -->
  +                <permission action="/actions" subject="/users/root"/>
  +                <permission action="/actions/read" subject="/users" inheritable="false"/>
  +                <permission action="/actions/read" subject="nobody" inheritable="false"/>
  +                <!-- /users -->
  +                <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users">
  +                    <permission action="/actions" subject="~"/>
  +                    <permission action="/actions" subject="/users/guest" inheritable="true"
negative="true"/>
  +                    <permission action="/actions/read" subject="/users" inheritable="false"/>
  +                    <!-- Permission group example -->
  +                    <objectnode classname="org.apache.slide.structure.GroupNode" uri="/users/groupA">
  +                        <objectnode classname="org.apache.slide.structure.LinkNode"
uri="/users/groupA/john" linkedUri="/users/john"/>
  +                        <objectnode classname="org.apache.slide.structure.LinkNode"
uri="/users/groupA/root" linkedUri="/users/root"/>
  +                        <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/groupA/singleGroupMember"/>
  +                    </objectnode>
  +                    <!-- /users/root represents the administrator -->
  +                    <objectnode classname="slideroles.basic.RootRoleImpl" uri="/users/root">
  +                        <revision>
  +                            <property name="password">root</property>
  +                        </revision>
  +                    </objectnode>
  +                    <!-- /users/john represents an authenticated user -->
  +                    <objectnode classname="slideroles.basic.UserRoleImpl" uri="/users/john">
  +                        <revision>
  +                            <property name="password">john</property>
  +                        </revision>
  +                    </objectnode>
  +                    <!-- /users/guest represents an authenticated or unauthenticated

                  guest user -->
  -					<objectnode classname="slideroles.basic.GuestRoleImpl" uri="/users/guest">
  -						<revision>
  -							<property name="password"/>
  -						</revision>
  -					</objectnode>
  -				</objectnode>
  -				<objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions">
  -					<objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/read"/>
  -					<objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/write"/>
  -					<objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/manage"/>
  -				</objectnode>
  -				<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/files">
  -					<!-- ### Give read/write/manage permission to guest ### 
  +                    <objectnode classname="slideroles.basic.GuestRoleImpl" uri="/users/guest">
  +                        <revision>
  +                            <property name="password"/>
  +                        </revision>
  +                    </objectnode>
  +                </objectnode>
  +                <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions">
  +                    <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/read"/>
  +                    <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/write"/>
  +                    <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/manage"/>
  +                </objectnode>
  +                <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/files">
  +                    <!-- ### Give read/write/manage permission to guest ### 
                  Uncomment the following line to give permission to do
                  all actions on /files to guest (unauthenticated users) -->
  -					<!-- <permission action="/actions" subject="/users/guest"/> -->
  -					<permission action="/actions/manage" subject="/users/john"/>
  -					<permission action="/actions/write" subject="+/users/groupA"/>
  -					<permission action="/actions/read" subject="nobody"/>
  -				</objectnode>
  -				<!-- DeltaV: default history and workspace paths -->
  -				<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/history"/>
  -				<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/workspace"/>
  -				<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/workingresource"/>
  -			</objectnode>
  -		</data>
  -	</namespace>
  -	<!-- DeltaV domain-wide parameters -->
  -	<!--
  -		The following parameter specifies a Slide path which determines the location where this
DeltaV server stores history data.
  -	-->
  -	<parameter name="historypath">/history</parameter>
  -	<!--
  -		The following parameter specifies a Slide path which determines the location where this
DeltaV server allows workspaces to reside.
  -	-->
  -	<parameter name="workspacepath">/workspace</parameter>
  -	<!--
  -		The following parameter specifies a Slide path which determines the location where this
DeltaV server stores working resources.
  -	-->
  -	<parameter name="workingresourcepath">/workingresource</parameter>
  -	<!--
  -		Controls the DeltaV auto-version behaviour
  -	-->
  -	<parameter name="auto-version">checkout-checkin</parameter>
  -	<!--
  -		Indicates if a resource just created by a PUT should be set under version-control.
  -	-->
  -	<parameter name="auto-version-control">false</parameter>
  -	<!--
  -		Controls the DeltaV check-out behaviour when a version is already checked-out or has
a successor.
  -	-->
  -	<parameter name="checkout-fork">forbidden</parameter>
  -	<!--
  -		Controls the DeltaV check-out behaviour when a version has already
  -		a successor.
  -	-->
  -	<parameter name="checkin-fork">forbidden</parameter>
  -	<!--
  -		The following parameter determines the "agent" knowing about what the standard live properties
are.
  -		It should be a loadable class containing the following static methods:
  -		- boolean isLiveProperty( String propName )
  -		- boolean isProtectedProperty( String propName )
  -		- boolean isComputedProperty( String propName )
  -		- Set getAllLiveProperties()
  -		- Set getAllProtectedProperties()
  -		- Set getAllComputedProperties()
  -	-->
  -	<parameter name="standardLivePropertiesClass">org.apache.slide.webdav.util.resourcekind.AbstractResourceKind</parameter>
  -	<!--
  -		The following parameter determines the URI redirector class. The DeltaV URI redirector
is in charge of the following redirections:
  -		- version URI to history URI, e.g. /history/2/1.4 to /history/2
  -		- latest revision number for history resource to 0.0
  -		- latest revision number for version resource to last URI token, e.g. /history/2/1.4
to 1.4
  -		It should be a loadable class containing the following static methods:
  -		- String redirectUri( String uri )
  -		- NodeRevisionNumber redirectLatestRevisionNumber( String uri )
  -	-->
  -	<parameter name="uriRedirectorClass">org.apache.slide.webdav.util.DeltavUriRedirector</parameter>
  +                    <!-- <permission action="/actions" subject="/users/guest"/>
-->
  +                    <permission action="/actions/manage" subject="/users/john"/>
  +                    <permission action="/actions/write" subject="+/users/groupA"/>
  +                    <permission action="/actions/read" subject="nobody"/>
  +                </objectnode>
  +                <!-- DeltaV: default history and workspace paths -->
  +                <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/history"/>
  +                <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/workspace"/>
  +                <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/workingresource"/>
  +            </objectnode>
  +        </data>
  +    </namespace>
  +    <!--
  +    DeltaV global parameters
  +    ========================
  +    * historypath (mandatory=no, default="/history"):
  +    Specifies a Slide path which determines the location where this DeltaV server stores

  +    history data.
  +    
  +    * workspacepath (mandatory=no, default="/workspace"):
  +    Specifies a Slide path which determines the location where this DeltaV server allows

  +    workspaces to reside.
  +    
  +    * workingresourcepath (mandatory=no, default="/workingresource"):
  +    Specifies a Slide path which determines the location where this DeltaV server stores

  +    working resources.
  +    
  +    * auto-version (mandatory=no, default="checkout-checkin"):
  +    Controls the DeltaV auto-version behaviour. 
  +    
  +    * auto-version-control (mandatory=no, default="false"):
  +    Indicates if a resource just created by a PUT should be set under version-control.
  +    
  +    * checkout-fork (mandatory=no, default="forbidden"):
  +    Controls the DeltaV check-out behaviour when a version is already checked-out or 
  +    has a successor.
  +    
  +    * checkin-fork (mandatory=no, default="forbidden"):
  +    Controls the DeltaV check-out behaviour when a version has already a successor.
  +    
  +    * standardLivePropertiesClass (mandatory=no, default="org.apache.slide.webdav.util.resourcekind.AbstractResourceKind"):
  +    Determines the "agent" knowing about what the standard live properties are.
  +    It should be a loadable class containing the following static methods:
  +    - boolean isLiveProperty( String propName )
  +    - boolean isProtectedProperty( String propName )
  +    - boolean isComputedProperty( String propName )
  +    - Set getAllLiveProperties()
  +    - Set getAllProtectedProperties()
  +    - Set getAllComputedProperties()
  +    
  +    * uriRedirectorClass (mandatory=no, default="org.apache.slide.webdav.util.DeltavUriRedirector"):
  +    Determines the URI redirector class. The DeltaV URI redirector is in charge of the

  +    following redirections:
  +    - version URI to history URI, e.g. /history/2/1.4 to /history/2
  +    - latest revision number for history resource to 0.0
  +    - latest revision number for version resource to last URI token, e.g. /history/2/1.4
to 1.4
  +    It should be a loadable class containing the following static methods:
  +    - String redirectUri( String uri )
  +    - NodeRevisionNumber redirectLatestRevisionNumber( String uri )
  +    -->
  +    <parameter name="historypath">/history</parameter>
  +    <parameter name="workspacepath">/workspace</parameter>
  +    <parameter name="workingresourcepath">/workingresource</parameter>
  +    <parameter name="auto-version">checkout-checkin</parameter>
  +    <parameter name="auto-version-control">false</parameter>
  +    <parameter name="checkout-fork">forbidden</parameter>
  +    <parameter name="checkin-fork">forbidden</parameter>
  +    <parameter name="standardLivePropertiesClass">org.apache.slide.webdav.util.resourcekind.AbstractResourceKind</parameter>
  +    <parameter name="uriRedirectorClass">org.apache.slide.webdav.util.DeltavUriRedirector</parameter>
   </slide>
  
  
  

--
To unsubscribe, e-mail:   <mailto:slide-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:slide-dev-help@jakarta.apache.org>


Mime
View raw message