You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/06/23 14:49:57 UTC

svn commit: r416708 - in /lenya/trunk/src/modules-core: ac-impl/config/cocoon-xconf/ ac-impl/java/src/org/apache/lenya/cms/ac/usecase/ usecase-impl/ usecase-impl/config/cocoon-xconf/ usecase-impl/java/src/org/apache/lenya/cms/ac/ usecase-impl/java/src/...

Author: andreas
Date: Fri Jun 23 05:49:57 2006
New Revision: 416708

URL: http://svn.apache.org/viewvc?rev=416708&view=rev
Log:
Moved UsecaseAuthorizerImpl from ac-impl to usecase-impl

Added:
    lenya/trunk/src/modules-core/usecase-impl/config/cocoon-xconf/usecase-authorizer.xconf
    lenya/trunk/src/modules-core/usecase-impl/java/src/org/apache/lenya/cms/ac/
    lenya/trunk/src/modules-core/usecase-impl/java/src/org/apache/lenya/cms/ac/usecase/
      - copied from r416653, lenya/trunk/src/modules-core/ac-impl/java/src/org/apache/lenya/cms/ac/usecase/
Removed:
    lenya/trunk/src/modules-core/ac-impl/java/src/org/apache/lenya/cms/ac/usecase/
Modified:
    lenya/trunk/src/modules-core/ac-impl/config/cocoon-xconf/authorizers.xconf
    lenya/trunk/src/modules-core/usecase-impl/module.xml

Modified: lenya/trunk/src/modules-core/ac-impl/config/cocoon-xconf/authorizers.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/ac-impl/config/cocoon-xconf/authorizers.xconf?rev=416708&r1=416707&r2=416708&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/ac-impl/config/cocoon-xconf/authorizers.xconf (original)
+++ lenya/trunk/src/modules-core/ac-impl/config/cocoon-xconf/authorizers.xconf Fri Jun 23 05:49:57 2006
@@ -20,13 +20,8 @@
     This file defines the publication specific use-cases
 -->
 
-  <xconf xpath="/cocoon" unless="/cocoon/authorizers">
-    <authorizers>
-      <component-instance name="policy"
-        class="org.apache.lenya.ac.impl.PolicyAuthorizer"
-        logger="lenya.ac.authorizer.policy"/>
-      <component-instance name="usecase"
-        class="org.apache.lenya.cms.ac.usecase.UsecaseAuthorizerImpl"
-        logger="lenya.ac.authorizer.usecase"/>
-    </authorizers>
+  <xconf xpath="/cocoon/authorizers" unless="/cocoon/authorizers/component-instance[@name = 'usecase']">
+    <component-instance name="usecase"
+      class="org.apache.lenya.cms.ac.usecase.UsecaseAuthorizerImpl"
+      logger="lenya.ac.authorizer.usecase"/>
   </xconf>

Added: lenya/trunk/src/modules-core/usecase-impl/config/cocoon-xconf/usecase-authorizer.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/usecase-impl/config/cocoon-xconf/usecase-authorizer.xconf?rev=416708&view=auto
==============================================================================
--- lenya/trunk/src/modules-core/usecase-impl/config/cocoon-xconf/usecase-authorizer.xconf (added)
+++ lenya/trunk/src/modules-core/usecase-impl/config/cocoon-xconf/usecase-authorizer.xconf Fri Jun 23 05:49:57 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon" unless="/cocoon/authorizers">
+    <authorizers>
+      <component-instance name="policy"
+        class="org.apache.lenya.ac.impl.PolicyAuthorizer"
+        logger="lenya.ac.authorizer.policy"/>
+      <component-instance name="usecase"
+        class="org.apache.lenya.cms.ac.usecase.UsecaseAuthorizerImpl"
+        logger="lenya.ac.authorizer.usecase"/>
+    </authorizers>
+  </xconf>

Modified: lenya/trunk/src/modules-core/usecase-impl/module.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/usecase-impl/module.xml?rev=416708&r1=416707&r2=416708&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/usecase-impl/module.xml (original)
+++ lenya/trunk/src/modules-core/usecase-impl/module.xml Fri Jun 23 05:49:57 2006
@@ -20,6 +20,7 @@
 <module xmlns="http://apache.org/lenya/module/1.0">
   <id>org.apache.lenya.modules.usecase-impl</id>
   <depends module="org.apache.lenya.modules.usecase"/>
+  <depends module="org.apache.lenya.modules.ac-impl"/>
   <package>org.apache.lenya.modules</package>
   <version>0.1-dev</version>
   <name>Usecase framework implementation</name>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org