cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasper Michalczik" <>
Subject authentication
Date Thu, 17 Jun 2004 12:59:58 GMT


I'd like to have several different contents in one single Cocoon
application. The Root of my Tomcat is the Cocoon webapp, and all the
content has to be received from a webdav folder, even the authentication
data (the users).


Currently I'm having different Cocoon webapps in the Tomcat Webapps
directory, but it came out that this way it makes it really slow. So I
wanted to reduce it to one Cocoon, which should "know" about which url
was called (e.g. localhost/content1) and receive all the data form the
webdav/content1 dir. It worked successfully when I had several Cocoon
webapps running, but somehow I have no idea - and that's the problem -
how to tell the authentication handler which userlist to use to


Here are some parts of my sitemap:




                                 <handler name="authhandler">







                    <map:match pattern="do-login/*">

                           <!-- try to login -->

                           <map:act type="auth-login">

                                 <map:parameter name="handler"

                                 <map:parameter name="parameter_name"

name="parameter_password" value="{request-param:password}"/>



                           <!-- something was wrong, try it again -->

                           <map:redirect-to uri="login"/>



             <map:pipeline internal-only="true">

                    <!-- This is the authentication respource -->

                    <map:match pattern="authenticate/*">


                           <map:transform src="login/authenticate.xsl">

name="use-request-parameters" value="true"/>


                           <map:serialize type="xml"/>




View raw message