cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Cocoon Wiki] Updated: AuthFWWithFlowAndForms
Date Mon, 22 Nov 2004 16:06:49 GMT
   Date: 2004-11-22T08:06:49
   Editor: HelmaVanDerLinden <>
   Wiki: Cocoon Wiki
   Page: AuthFWWithFlowAndForms

   no comment

Change Log:

@@ -1,9 +1,10 @@
-=Authentication with flow and CForms
+=== Authentication with flow and CForms ===
 Using the authentication framework with flow is already described here: [
Authentication Framework with flow].
 What may not be obvious, at least it wasn't to me for a long time, is that the pipeline handling
the continuation should also be included in the "protected" area. Otherwise they will loose
the authentication context in the session. However, you cannot call a continuation inside
a "call function". I.e. the following is '''not''' possible:
 <map:match pattern="*.continue">
    <map:call function="protected">
       <map:parameter name="handler" value="myflowauthenticationhandler"/>
@@ -11,8 +12,10 @@
 However, you can still use the authentication actions:
 <map:match pattern="*.continue">
   <map:act type="auth-loggedIn">  <!-- check authentication -->
     <map:parameter name="handler" value="managehandler"/>
@@ -23,5 +26,6 @@
   <map:redirect-to uri="login"/>
 ''Thanks to Oscar Picasso for the above pipeline.''

View raw message