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 2005/01/03 16:28:35 UTC

svn commit: r123988 - /lenya/trunk/src/confpatch/pipelines.xmap

Author: andreas
Date: Mon Jan  3 07:28:34 2005
New Revision: 123988

URL: http://svn.apache.org/viewcvs?view=rev&rev=123988
Log:
using usecase framework for login usecase
Modified:
   lenya/trunk/src/confpatch/pipelines.xmap

Modified: lenya/trunk/src/confpatch/pipelines.xmap
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/confpatch/pipelines.xmap?view=diff&rev=123988&p1=lenya/trunk/src/confpatch/pipelines.xmap&r1=123987&p2=lenya/trunk/src/confpatch/pipelines.xmap&r2=123988
==============================================================================
--- lenya/trunk/src/confpatch/pipelines.xmap	(original)
+++ lenya/trunk/src/confpatch/pipelines.xmap	Mon Jan  3 07:28:34 2005
@@ -37,25 +37,6 @@
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>
-          
-      <map:match type="usecase" pattern="login">
-        
-        <map:match type="step" pattern="showscreen">
-          <map:generate type="serverpages" src="fallback://lenya/content/ac/login.xsp"/>
-          <map:transform src="fallback://lenya/xslt/ac/login.xsl">
-            <map:parameter name="publication_name" value="{page-envelope:publication-id}"/>
-          </map:transform>
-          <map:call resource="style-cms-page"/>
-        </map:match>
-        
-        <map:match type="step" pattern="login">
-          <map:act type="authenticator">
-            <map:redirect-to uri="{request:requestURI}" session="true"/>
-          </map:act>
-          <map:redirect-to uri="{request:requestURI}?lenya.usecase=login&amp;lenya.step=showscreen&amp;status=failed" session="true"/>
-        </map:match>
-        
-      </map:match>
       
       <map:match type="usecase" pattern="logout">
         <map:generate type="serverpages" src="fallback://lenya/content/ac/logout.xsp"/>
@@ -65,7 +46,7 @@
         </map:transform>
           <map:call resource="style-cms-page"/>
       </map:match>
-      
+
       <map:match pattern="ac.login" type="usecase">
         <map:mount src="lenya/usecases/usecase.xmap" uri-prefix="" check-reload="yes" reload-method="synchron"/>
       </map:match>
@@ -123,7 +104,7 @@
         <map:act type="authorizer">
           <map:mount uri-prefix="" src="global-sitemap.xmap" check-reload="true" reload-method="synchron"/>
         </map:act>
-        <map:redirect-to uri="{request:requestURI}?lenya.usecase=login&amp;lenya.step=showscreen" session="true"/>
+        <map:redirect-to uri="{request:requestURI}?lenya.usecase=ac.login" session="true"/>
       </map:match>
 
       <map:handle-errors>

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