dflorey     2004/08/05 07:47:24

  Modified:    src/conf/webapp Domain.xml
  Log:
  Added persistence for subscrptions
  
  Revision  Changes    Path
  1.65      +20 -2     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.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- Domain.xml        3 Aug 2004 10:48:27 -0000       1.64
  +++ Domain.xml        5 Aug 2004 14:47:24 -0000       1.65
  @@ -97,6 +97,7 @@
                   <!-- /users -->
                   <objectnode classname="org.apache.slide.structure.SubjectNode" 
uri="/users">
                       <permission action="all" subject="self" inheritable="true"/>
  +                    <permission action="all" subject="/roles/projector" 
inheritable="true"/>
                       <permission action="all" subject="unauthenticated" 
inheritable="true" negative="true"/>
                       <!-- /users/root represents the administrator -->
                       <objectnode classname="org.apache.slide.structure.SubjectNode" 
uri="/users/root">
  @@ -121,10 +122,16 @@
                               <property namespace="http://jakarta.apache.org/slide/"; 
name="password">guest</property> 
                           </revision>
                       </objectnode>
  +                    <objectnode classname="org.apache.slide.structure.SubjectNode" 
uri="/users/projector">
  +                        <revision>
  +                            <property namespace="http://jakarta.apache.org/slide/"; 
name="password">projector</property> 
  +                        </revision>
  +                    </objectnode>
                   </objectnode>
                   <!-- /roles -->
                   <objectnode classname="org.apache.slide.structure.SubjectNode" 
uri="/roles">
                       <permission action="all" subject="self" inheritable="true"/>
  +                    <permission action="all" subject="/roles/projector" 
inheritable="true"/>
                       <permission action="all" subject="unauthenticated" 
inheritable="true" negative="true"/>
                       <objectnode classname="org.apache.slide.structure.SubjectNode" 
uri="/roles/root">
                           <revision>
  @@ -133,7 +140,7 @@
                       </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>]]></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">
  @@ -141,6 +148,11 @@
                               <property name="group-member-set"><![CDATA[<D:href 
xmlns:D='DAV:'>/users/guest</D:href>]]></property>
                           </revision>
                       </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>
  +                        </revision>
  +                    </objectnode>
                   </objectnode>
                   <!-- action -->
                   <objectnode classname="org.apache.slide.structure.ActionNode" 
uri="/actions">
  @@ -200,6 +212,11 @@
                       <permission action="/actions/write" subject="/roles/user" 
inheritable="true"/>
                       <permission action="/actions/read-acl" subject="owner" 
inheritable="true"/>
                   </objectnode>
  +                <objectnode classname="org.apache.slide.structure.SubjectNode" 
uri="/projector">
  +                    <permission action="all" subject="unauthenticated" 
inheritable="true"/>
  +                    <permission action="/actions/write" subject="/roles/projector" 
inheritable="true"/>
  +                    <permission action="/actions/read-acl" subject="owner" 
inheritable="true"/>
  +                </objectnode>
                   <!-- DeltaV: default history and workspace paths -->
                   <objectnode classname="org.apache.slide.structure.SubjectNode" 
uri="/history">
                       <permission action="all" subject="unauthenticated" 
inheritable="true"/>
  @@ -317,7 +334,8 @@
           <listener classname="org.apache.slide.event.TransientEventCollector" />
           <listener classname="org.apache.slide.webdav.event.NotificationTrigger">
               <configuration>
  -                <notification protocol="tcp" include-events="false" />
  +                <notification include-events="false" />
  +                <persist-subscriptions filename="subscriptions.xml" />
               </configuration>
           </listener>
           <listener classname="org.apache.slide.extractor.PropertyExtractorTrigger" />
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to