Re: Authentication in xsl:fo in Cocoon

2008-02-20 Thread Lehtonen, Mika
Thanks Andy, for your suggestion. Hard to say, will this solve the authentication problem, but anyway your message included valuable information for me. Actually while writing my question, I used original FOP, but thanks to Kai Mütz, I am now succesfully using fop-ng. I have all my xsls'

Re: Authentication in xsl:fo in Cocoon

2008-02-15 Thread Lehtonen, Mika
Hi Joerg, I am afraid it's not working because Cocoon is running on the localhost and wms-server on a virtual host which can't be accessed using localhost or 127.0.0.1. I am planning of adding these secure wms-servers into other virtual hosts which each have their own subdomain.domain.net

Authentication in xsl:fo in Cocoon

2008-02-14 Thread Lehtonen, Mika
Hi, Cocoon 2.1.11 / TomCat 6.0.14 Cocoon is running in main host and wms-server (GeoServer) in another virtual host. Cocoon gets rasterdata from wms and renders it into pdf. So there is fo:external-graphics tag in the xsl, which has a wms-request as a src attribute. Everything works fine

Re: Authentication in xsl:fo in Cocoon

2008-02-14 Thread Lehtonen, Mika
I did a quick and dirty solution: I add src=http://user:[EMAIL PROTECTED] to my fo:external-graphics tag. Just for the testing. Any better ideas? Are there any way to build something to sitemap, which would do the trick? The user has just logged into the GeoServer so there must be some

Re: Authentication in xsl:fo in Cocoon

2008-02-14 Thread Joerg Heinicke
If I understand it correctly you have two independent web applications in the same Tomcat instance. Couldn't you stay inside the secure area so that you don't need to authenticate from Cocoon when accessing the WMS server? I think you can check if the accessed URL was localhost or 127.0.0.1.