> From: Fiedler, Raul [mailto:[EMAIL PROTECTED]]
> 
> Hi
> 
> I want to protect the whole site with a session validator action.
> It works fine for all pipeline objects except ones with generators
inside.
> 
> Example:

This snippet below - is it copy/paste? Then you have errors:


> <map:pipeline>
>   <map:match pattern="*">
>     <map:act type="session-validator">
>       <map:parameter name="use-request-parameters" value="true"/>
>       <map:parameter name="descriptor"
value="context://descriptors.xml"/>
>       <map:parameter name="validate" value="username"/>
> 
>       <map:match pattern="area/view-xml">
>         <map:generate type="object-viewer"/>
>         <map:serialize type="xml"/>
>       </map:match>
> 
>       ... other matchers ...
> 
>    </map:act>

  </map:match>
</map:pipeline>
 


Vadim


> Reading from the log. One can see the request and all request
parameters are
> correct. But no reference to the generator.
> 
> Symptom in browser is a 404 error.
> 
> What is wrong in my concept for "area/view-xml" pipeline? Of course
dose the
> pipeline work fine when removing the wrapping session-validator action
> 
> Thank you very much.
> 
> > Raul Fiedler
> > European Central Bank
> > DG Information Systems - Business Development
> > *   +49 (0) 69 1344 6870
> > * [EMAIL PROTECTED]
> >
> 
> Any e-mail message from the European Central Bank (ECB) is sent in
good faith
> but shall neither be binding nor construed as constituting a
commitment by the
> ECB except where provided for in a written agreement.
> This e-mail is intended only for the use of the recipient(s) named
above. Any
> unauthorised disclosure, use or dissemination, either in whole or in
part, is
> prohibited.
> If you have received this e-mail in error, please notify the sender
> immediately via e-mail and delete this e-mail from your system.
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to