If you're using BASIC authentication, you may try using the syntax:

http://username:[EMAIL PROTECTED]

Also, you should look into the WebServiceProxyGenerator (if you're using 2.1
or
can wait until it's ported to 2.0.4  Search for WebServiceProxyGenerator in
the
archives, or search for emails from/to [EMAIL PROTECTED]

Geoff

> -----Original Message-----
> From: Gernot Koller [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 14, 2003 10:48 AM
> To: [EMAIL PROTECTED]
> Subject: Accessing Http authentication protected URls via HTML Generator
>
>
> Hi!
>
> I'm extracting some information from another webapplication and
> render it as part of my cocoon based portal.
> I do this using the html generator to retrieve the xhtml from the
> 3rd party webapplication and use xslt stylesheet to extract the
> information
> I need. While this generally works quite well, I get some
> problems, when the 3rd party URL is protected via HTTP authenticiation.
> To my understanding, technically everything should work, when i
> add a Authorization HTTP-Header (e.g. "Authorization: Basic
> 7234jhdfhjasfhjsd") to the request of the 3rd party URL. I even
> would consider hardcoding this information. I already browsed the html-
> generator sources, but I cant't find a simple way to achieve this...
>
> Anybody any hints ?
>
> gernot.
>
>
>
> ---------------------------------------------------------------------
> 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]>

Reply via email to