<map:action name="sunRise_auth" src="org.apache.cocoon.sunshine.sunrise.acting.AuthAction">
<handlers>
<handler name="foo_handler" xmlns:map="http://apache.org/cocoon/sitemap/1.0" xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0">
<redirect-to uri="cocoon://login_page"/>
<authentication uri="cocoon:raw://authuser"/>
</handler>
</handlers>
At 16:01 19/02/2003 +0100, you wrote:
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]>
--------------------------------------------------------------------- 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]>