You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Damien Fitzpatrick <da...@ephox.com> on 2004/06/22 10:28:47 UTC

Accessing a password protected source file using the FileGenerator

Hi there,

I am currently having some problems with setting up Cocoon in an
environment where the source file referred to by the file generator is
under password protection.  

E.g. my site map has the following line:

<map:generate src="http://server:8080/examples/anchors.xml"/>

And accessing the anchors.xml file requires a log in.  

When accessing this resource the browser from which the request to
Cocoon is made does have a session cookie which would permit it to
access this resource.  However, it appears that the FileGenerator from
Cocoon has no reference to this cookie.  

How can I pass the cookie to Cocoon so that it may access the file.  Is
there any other way in which the authentication details can be passed to
Cocoon so that it may access the file?

Thanks,
Damien


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org