cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew MacDonald <>
Subject Re: Problem accessing authentication session in portal sitemap
Date Thu, 23 Sep 2004 15:40:54 GMT
Yes, of course.  I should've done that in the original
post, sorry.

Here's the authentication part where the skin variable
is added (from user-data-test.xml):

<map:pipeline internal-only="true">
	<map:match pattern="sunrise-authuser">
        <map:aggregate element="auth">
        <map:transform src="styles/authenticate.xsl">
name="use-request-parameters" value="true"/>
        <map:serialize type="xml"/>

Here's the authentication context:


Later on, in the main pipeline I have this:

<map:match pattern="css/*.css">
    <map:act type="auth-protect">
	<map:parameter name="handler"
    	<map:read mime-type="text/css"

I realized after I posted that to access the
authentication context I need the auth-protect act. 
However, now that I've added it, it doesn't seem to
access that code at all.  For example, even if I
hardcode the skin directory, it still doesn't work. 
Instead of {skin} I've also tried
but that doesn't work either.

Thanks for any help,

> Could you please provide us with relevant parts of >
> sitemap?
> TIA,
> -- 
> Jean-Baptiste Quenot
> Anyware Technologies

Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages! 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message