Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-04-21 Thread mhln25
Thanks for the kind reply.. It is working now. Regret again for the delayed reply.. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print-WMS-layer-is-Secured-tp5106623p5136192.html Sent from the GeoServer - User mailing list archive at

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-04-08 Thread Paulius Litvinas
Thank you Mauro - looks like it works now. Sincerely, Paulius Litvinas GIS consultant line map S. Žukausko str. 17, LT-08234 Vilnius, Lithuania telephone Tel. + 370 5 278 8456 Mob. +370 656 10 089 mail_and_earth mailto:paul...@infoera.lt paul...@infoera.lt http://www.infoera.lt/

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-04-07 Thread Mauro Bartolomeoli
Hi, as I answered to Paulius, it's not enough to use the latest jar, you also have to: 1) update geoserver web.xml to include the mapfish-print Spring application context: to use the new jar you also need to make a change in geoserver WEB-INF/lib/web.xml to load the mapfish spring application

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-04-06 Thread mhln25
Hi maurao, Thanks for the prompt reply. However, regret for the delayed reply from our end.. But we tried the jar file you had shared. But still we are still facing the same problem. Which GeoServer version and the corresponding jar file we should use for bringing map print functionality

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-04-03 Thread Paulius Litvinas
Hello, I tried to replace existing print-lib jar with jar from http://central.maven.org/maven2/org/mapfish/print/print-lib/2.0.0/print-lib- 2.0.0.jar in geoserver lib folder. I am using GeoServer 2.4.5 windows installer on Windows Server 2008 R2 x64 on java 1.6 x32. Got the following

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-04-03 Thread Jesse Eichar
Is there any more errors in the log? On Thu, Apr 3, 2014 at 3:39 PM, Paulius Litvinas paul...@infoera.lt wrote: Hello, I tried to replace existing print-lib jar with jar from http://central.maven.org/maven2/org/mapfish/print/print-lib/2.0.0/print-lib-2.0.0.jarin geoserver lib folder.

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-04-03 Thread Mauro Bartolomeoli
Hi Paulius, to use the new jar you also need to make a change in geoserver WEB-INF/lib/web.xml to load the mapfish spring application context. Locate this section in the file: context-param param-namecontextConfigLocation/param-name param-valueclasspath*:/applicationContext.xml

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-03-26 Thread Mauro Bartolomeoli
Hi Mahalakshmi, the functionality you are looking for (headers) is not available in the current printing plugin. We will probably make it available soon on master, so please stay tuned. In the meantime, if you wish, you can try to replace the print-lib jar you have in your geoserver WEB-INF\lib

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-03-03 Thread Tom Colley
Hi I got around the printing authenticated layers issue by creating a user in Geoserver called printer with access to all layers. You can then add this security block in your config.yaml to send all print requests as a specified user: Security: - !basicAuth Matcher: !dnsMatch host:

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-03-03 Thread Mauro Bartolomeoli
Hi Thomas, just for your info, in latest MapFish-print 2.0 SNAPSHOT, you can also add this to the config.yaml: headers: ['Cookie', 'Referer', 'Authorization'] to let MapFish forward the basic auth to geoserver. This obviously works if your app and geoserver are under the same basic auth domain.

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-02-28 Thread Thomas Colley
Hi I got around the printing authenticated layers issue by creating a user in Geoserver called printer with access to all layers. You can then add this security block in your config.yaml to send all print requests as a specified user: Security: - !basicAuth Matcher: !dnsMatch host: