cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Flowscript and return to pipeline
Date Fri, 27 Feb 2004 22:39:52 GMT
Antonio Gallardo wrote:

<snip/>

>AFAIK, in a webapp you can also review the authentication and authorization:
>
><map:pipeline internal-only="true">
>  <map:match pattern="fo-*.pdf">
>    <map:generate src="docs/informes/fo-{1}"/>
>    <map:transform src="stylesheets/fo-{1}2fo.xsl"/>
>    <map:serialize type="fo2pdf"/>
>  </map:match>
>  ...
></map:pipeline>
>
><map:pipeline>
>  <map:match pattern="*">
>    <map:call function="protect">
>      <map:parameter name="handler" value="authhandler"/>
>      <map:parameter name="protected-internal" value="{1}"/>
>      <map:parameter name="failure-redirect" value="/login?resource={1}"/>
>  
>

Uh? Don't you use continuations to handle login and automagically return 
the expected initial response when the user successfully authenticate?

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message