the sitemap looks like this : *********** * The auth-login action *********** <map:match pattern="loginProcess"> <!-- try to login --> <map:act type="auth-login"> <map:parameter name="handler" value="authHandler"/> <map:parameter name="parameter_name" value="{request:username}"/> <map:parameter name="parameter_pass" value="{request:password}"/>
<map:redirect-to uri="myProtectedPage"/>= </map:act> <!-- try it again --> <map:redirect-to uri="login"/> </map:match> *************** Protected page *************** <map:match pattern="myProtectedPage"> <map:act type="auth-protect"> <map:parameter name="handler" value="authHandler"/> <map:generate src="docs/protected.xml"/> <map:transform src="stylesheets/simple-page2html.xsl"/> <map:serialize/> </map:act> <!-- something was wrong, redirect to login page --> <map:redirect-to uri="login"/> </map:match> ************* * The authenticate resource ************* <map:pipeline internal-only="true"> <!-- This is the authentication respource --> <map:match pattern="authenticate"> <map:generate src="resources/authentication.xsp" type="serverpages"/> <map:transform src="stylesheets/authenticate.xsl"/> <map:serialize type="xml"/> </map:match> </map:pipeline> Thanks for your help -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:Markdelanoy@;aol.com] Envoyé : mardi 5 novembre 2002 15:50 À : [EMAIL PROTECTED] Objet : Re: Authentication Resource You've got the XSP but what does the sitemap look like?? --------------------------------------------------------------------- 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]>