[EMAIL PROTECTED] wrote:
I do not know how auth-fw works. Still this looks for me like the problem occurs when you resume continuations. Shouldn't you wrap your <map:call continuation="{1}"/> with some auth-fw action?


Sounds plausible, but I have no clue what the correct syntax should be. How
do I mix the following:

<map:match pattern="**news.html">
   <map:call function="isLoggedIn">
      <map:parameter name="handler" value="flowAuthenticationHandler"/>
        <map:parameter name="protected-internal" value="general/news.form"/>
        <map:parameter name="failure-redirect" value="login"/>
   </map:call>
</map:match>

And

<map:match pattern="*.continue">
   <map:call continuation="{1}"/>
</map:match>

In other words: how do I wrap the 'call function="isLoggedIn"' around the
'call continuation'?

Thanks.

Bye, Helma
not quite possible for 2 flowscript functions but feasible with a flowscript function and an action:

<map:match pattern="*.continue">
  <map:act type="authenticate">
    <map:call continuation="{../1}"/>
  <map:act>
  <map:redirect-to uri="failure"/>
</map:match>

--
Leszek Gawron                                      [EMAIL PROTECTED]
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to