cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Robson <glen.rob...@llgc.org.uk>
Subject Accessing an XML file through http Basic Authentication
Date Fri, 15 Feb 2008 14:47:26 GMT
Hi,

We are using cocoon 2.1.1 and I was wondering how you create a generator 
from an XML source which is protected using HTTP Basic authentication. 
Before the basic authentication was setup I would access the xml as follows:

<map:match pattern="object/*">
      <map:generate src="http://<host>:<port>/get/{1}/mets/"/>
      <map:transform src="stylesheets/show_object.xsl" >
            <map:parameter name="use-request-parameters" value="true"/>
      </map:transform>
      <map:serialize type="html"/>
</map:match>

The XML is located on another server and is accessed using a URL.

Thanks for your help

Glen

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


Mime
View raw message