Lionel,

please send also the definition of the handler.

Martin

----- Original Message -----
From: "Lionel Crine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 3:35 PM
Subject: sunrise authentication and request Object


> I'm using sunrise authentication and I need to get the request
parameter
> send by the form <tag>.
>
> It seems that during the pipelines processing, the request
parameters are
> lost so when I use "<xsp-request:get-parameter name="login"/>"
> in my xsp page, there is nothing.
>
> If I don't use sunrise auhentication, I can get the parameter(s).
>
> I'm sure I loose the parameters during the pipeline processing, I
saw it in
> the core.log file.
>
> In my pipeline, I have :
>
> <!-- log the user -->
>     <map:act type="sunRise_login">
>       <map:parameter name="handler" value="foo_handler"/>
>       <map:parameter name="parameter_name" value="request:name"/>
>       <map:parameter name="parameter_password"
value="request:password"/>
>                <!-- if the authentication is successfull then this
redirect
> will be performed -->
>       <map:redirect-to uri="ixia_demo"/>
>     </map:act>
> ...
>
> <map:match pattern="ixia_demo">
>     <!-- check you are already logged -->
>     <map:act type="sunRise_loggedIn">
>            <map:parameter name="handler" value="foo_handler"/>
>       <map:redirect-to uri="protected/display"/>
>     </map:act>
>     <!-- if not go to page login-->
> ...
> </map:match>
>
> <map:match pattern="protected/**">
>      <map:act type="sunRise_auth">
>            <map:parameter name="handler" value="foo_handler"/>
> <!-- welcome page -->
> ....
>
>
> Is there a way to keep the parameter during the pipeline processing
?
> Lionel
>
>
> --------------------------------------------------------------------
-
> Please check that your question  has not already been answered in
the
> FAQ before posting.
<http://xml.apache.org/cocoon/faq/index.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/faq/index.html>

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

Reply via email to