Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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 Nabble.com. -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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/ www.infoera.lt info_era_autodesk From: Mauro Bartolomeoli [mailto:maurobartolome...@gmail.com] Sent: Monday, April 07, 2014 10:08 AM To: mhln25 Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured 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 context. Locate this section in the file: context-param param-namecontextConfigLocation/param-name param-valueclasspath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml/param-value /context-param and add classpath*:/mapfish-spring-application-context.xml so that it looks like: context-param param-namecontextConfigLocation/param-name param-valueclasspath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml classpath*:/mapfish-spring-application-context.xml/param-value /context-param then restart Geoserver. 2) if you have basic authentication in your app, forward it to Geoserver adding this to your config.yaml: headers: ['Cookie', 'Referer', 'Authorization'] 3) if you don't use basic authentication, follow Thomas advice and add something like the following to your config.yaml: Security: - !basicAuth Matcher: !dnsMatch host: geoserver port: 8080 username: printer password: password preemptive: true This should work with geoserver 2.4.x or geoserver 2.5. Mauro 2014-04-07 7:36 GMT+02:00 mhln25 mhl...@gmail.com: 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 for secured GS layers? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print- WMS-layer-is-Secured-tp5106623p5133494.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users image001.jpgimage002.pngimage003.pngimage004.pngimage005.png-- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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 context. Locate this section in the file: context-param param-namecontextConfigLocation/param-name param-valueclasspath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml/param-value /context-param and add classpath*:/mapfish-spring-application-context.xml so that it looks like: context-param param-namecontextConfigLocation/param-name param-valueclasspath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml classpath*:/mapfish-spring-application-context.xml/param-value /context-param then restart Geoserver. 2) if you have basic authentication in your app, forward it to Geoserver adding this to your config.yaml: headers: ['Cookie', 'Referer', 'Authorization'] 3) if you don't use basic authentication, follow Thomas advice and add something like the following to your config.yaml: Security: - !basicAuth Matcher: !dnsMatch host: geoserver port: 8080 username: printer password: password preemptive: true This should work with geoserver 2.4.x or geoserver 2.5. Mauro 2014-04-07 7:36 GMT+02:00 mhln25 mhl...@gmail.com: 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 for secured GS layers? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print-WMS-layer-is-Secured-tp5106623p5133494.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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 for secured GS layers? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print-WMS-layer-is-Secured-tp5106623p5133494.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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 error: Failed to load resource: the server responded with a status of 500 (Error occurred while reading configuration file 'C:\Program Files (x86)\GeoServer 2.4.5\data_dir\printing\config.yaml': org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.mapfish.print.MapPrinter] is defined: expected single bean but found 0:) Is this the problem with configuration in config.yaml file or with components to read that config file? Config.yaml was generated after I started geoserver with print-lib-2.0.0.jar. Maybe some other reference files need to be replaced? Thanks for any help. Sincerely, Paulius From: Mauro Bartolomeoli [mailto:maurobartolome...@gmail.com] Sent: Wednesday, March 26, 2014 1:04 PM To: mhln25 Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured 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 folder with the one you find here: http://central.maven.org/maven2/org/mapfish/print/print-lib/2.0.0/print-lib- 2.0.0.jar Mauro 2014-03-26 7:28 GMT+01:00 mhln25 mhl...@gmail.com: Hi maurao, GeoEXT Mappanel,Map is not printed When WMS layer is secured and getting Error like *java.io.IOException:The byte array is not a recognized imageformat.* But the same print is working fine when layer is not secured. . We have used geoserver-2.6-SNAPSHOT-printing-plugin jar files and put it in GeoServer 2.4.3\webapps\geoserver\WEB-INF\lib folder and we experimented in windows platform. Security: - !basicAuth Matcher: !dnsMatch host: localhost port: 80 username: abc password: def preemptive: true . we specified the above set of security blocks in our config.yaml file.This is alos not working.Again ,We have used the headers block headers: ['Cookie', 'Referer', 'Authorization'].But again we got the same error *java.io.IOException:The byte array is not a recognized imageformat.* . Geoserver Details Version 2.4.3 Build Date 18-Dec-2013 06:12 GeoTools Version 10.3 GeoWebCache Version 1.5.0 Any help is highly appreciated because we are unable to proceed further.. With regards, Mahalakshmi Narayanan NIC, Chennai, MCIT, Govt of India -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print- WMS-layer-is-Secured-tp5106623p5131119.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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. I am using GeoServer 2.4.5 windows installer on Windows Server 2008 R2 x64 on java 1.6 x32. Got the following error: Failed to load resource: the server responded with a status of 500 (Error occurred while reading configuration file 'C:\Program Files (x86)\GeoServer 2.4.5\data_dir\printing\config.yaml': org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.mapfish.print.MapPrinter] is defined: expected single bean but found 0:) Is this the problem with configuration in config.yaml file or with components to read that config file? Config.yaml was generated after I started geoserver with print-lib-2.0.0.jar. Maybe some other reference files need to be replaced? Thanks for any help. Sincerely, *Paulius * *From:* Mauro Bartolomeoli [mailto:maurobartolome...@gmail.com] *Sent:* Wednesday, March 26, 2014 1:04 PM *To:* mhln25 *Cc:* GeoServer Mailing List List *Subject:* Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured 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 folder with the one you find here: http://central.maven.org/maven2/org/mapfish/print/print-lib/2.0.0/print-lib-2.0.0.jar Mauro 2014-03-26 7:28 GMT+01:00 mhln25 mhl...@gmail.com: Hi maurao, GeoEXT Mappanel,Map is not printed When WMS layer is secured and getting Error like *java.io.IOException:The byte array is not a recognized imageformat.* But the same print is working fine when layer is not secured. • We have used geoserver-2.6-SNAPSHOT-printing-plugin jar files and put it in GeoServer 2.4.3\webapps\geoserver\WEB-INF\lib folder and we experimented in windows platform. Security: - !basicAuth Matcher: !dnsMatch host: localhost port: 80 username: abc password: def preemptive: true • we specified the above set of security blocks in our config.yaml file.This is alos not working.Again ,We have used the headers block headers: ['Cookie', 'Referer', 'Authorization'].But again we got the same error *java.io.IOException:The byte array is not a recognized imageformat.* • Geoserver Details Version 2.4.3 Build Date 18-Dec-2013 06:12 GeoTools Version 10.3 GeoWebCache Version 1.5.0 Any help is highly appreciated because we are unable to proceed further.. With regards, Mahalakshmi Narayanan NIC, Chennai, MCIT, Govt of India -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print-WMS-layer-is-Secured-tp5106623p5131119.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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 classpath*:/applicationSecurityContext.xml/param-value /context-param and add classpath*:/mapfish-spring-application-context.xml so that it looks like: context-param param-namecontextConfigLocation/param-name param-valueclasspath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml classpath*:/mapfish-spring-application-context.xml/param-value /context-param then restart Geoserver. 2014-04-03 15:39 GMT+02:00 Paulius Litvinas paul...@infoera.lt: 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. I am using GeoServer 2.4.5 windows installer on Windows Server 2008 R2 x64 on java 1.6 x32. Got the following error: Failed to load resource: the server responded with a status of 500 (Error occurred while reading configuration file 'C:\Program Files (x86)\GeoServer 2.4.5\data_dir\printing\config.yaml': org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.mapfish.print.MapPrinter] is defined: expected single bean but found 0:) Is this the problem with configuration in config.yaml file or with components to read that config file? Config.yaml was generated after I started geoserver with print-lib-2.0.0.jar. Maybe some other reference files need to be replaced? Thanks for any help. Sincerely, *Paulius * *From:* Mauro Bartolomeoli [mailto:maurobartolome...@gmail.com] *Sent:* Wednesday, March 26, 2014 1:04 PM *To:* mhln25 *Cc:* GeoServer Mailing List List *Subject:* Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured 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 folder with the one you find here: http://central.maven.org/maven2/org/mapfish/print/print-lib/2.0.0/print-lib-2.0.0.jar Mauro 2014-03-26 7:28 GMT+01:00 mhln25 mhl...@gmail.com: Hi maurao, GeoEXT Mappanel,Map is not printed When WMS layer is secured and getting Error like *java.io.IOException:The byte array is not a recognized imageformat.* But the same print is working fine when layer is not secured. * We have used geoserver-2.6-SNAPSHOT-printing-plugin jar files and put it in GeoServer 2.4.3\webapps\geoserver\WEB-INF\lib folder and we experimented in windows platform. Security: - !basicAuth Matcher: !dnsMatch host: localhost port: 80 username: abc password: def preemptive: true * we specified the above set of security blocks in our config.yaml file.This is alos not working.Again ,We have used the headers block headers: ['Cookie', 'Referer', 'Authorization'].But again we got the same error *java.io.IOException:The byte array is not a recognized imageformat.* * Geoserver Details Version 2.4.3 Build Date 18-Dec-2013 06:12 GeoTools Version 10.3 GeoWebCache Version 1.5.0 Any help is highly appreciated because we are unable to proceed further.. With regards, Mahalakshmi Narayanan NIC, Chennai, MCIT, Govt of India -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print-WMS-layer-is-Secured-tp5106623p5131119.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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 folder with the one you find here: http://central.maven.org/maven2/org/mapfish/print/print-lib/2.0.0/print-lib-2.0.0.jar Mauro 2014-03-26 7:28 GMT+01:00 mhln25 mhl...@gmail.com: Hi maurao, GeoEXT Mappanel,Map is not printed When WMS layer is secured and getting Error like *java.io.IOException:The byte array is not a recognized imageformat.* But the same print is working fine when layer is not secured. * We have used geoserver-2.6-SNAPSHOT-printing-plugin jar files and put it in GeoServer 2.4.3\webapps\geoserver\WEB-INF\lib folder and we experimented in windows platform. Security: - !basicAuth Matcher: !dnsMatch host: localhost port: 80 username: abc password: def preemptive: true * we specified the above set of security blocks in our config.yaml file.This is alos not working.Again ,We have used the headers block headers: ['Cookie', 'Referer', 'Authorization'].But again we got the same error *java.io.IOException:The byte array is not a recognized imageformat.* * Geoserver Details Version 2.4.3 Build Date 18-Dec-2013 06:12 GeoTools Version 10.3 GeoWebCache Version 1.5.0 Any help is highly appreciated because we are unable to proceed further.. With regards, Mahalakshmi Narayanan NIC, Chennai, MCIT, Govt of India -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print-WMS-layer-is-Secured-tp5106623p5131119.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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: geoserver port: 8080 username: printer password: password preemptive: true As for the filename there's an outputFilename: parameter you can put in the config.yaml, I'm guessing you can substitute any variable that you're sending to mapfish in there as you do elsewhere: outputFilename: '${customfilename}' Hope this helps Tom Date: Fri, 28 Feb 2014 18:07:38 +0530 From: geo gis gisgeoser...@gmail.com Subject: [Geoserver-users] Fwd: Reg Map not printed in mapfish print whenWMS layer is Secured To: geoserver-users@lists.sourceforge.net Message-ID: CAG2EM7kN-Aiv4-rBunnj0CR1zcpf5MnZRxuBg=di9gapam9...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi, In GeoEXT print ,map is not printed When WMS layer is secured and getting *java.io.IOException: The byte array is not a recognized imageformat.* But the same print is working fine when layer is public and also how to change output filename dymanically form javascript.Please guide wt i have to do..Give some suggestions. Herewith i have enclosed sample YAML file for reference.. -- next part -- An HTML attachment was scrubbed... -- next part -- A non-text attachment was scrubbed... Name: config.yaml Type: application/octet-stream Size: 3721 bytes Desc: not available -- -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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. This feature is still not documented on the MapFish site. Mauro -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Dott. Mauro Bartolomeoli @mauro_bart Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
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: geoserver port: 8080 username: printer password: password preemptive: true As for the filename there's an outputFilename: parameter you can put in the config.yaml, I'm guessing you can substitute any variable that you're sending to mapfish in there as you do elsewhere: outputFilename: '${customfilename}' Hope this helps Tom Date: Fri, 28 Feb 2014 18:07:38 +0530 From: geo gis gisgeoser...@gmail.com Subject: [Geoserver-users] Fwd: Reg Map not printed in mapfish print whenWMS layer is Secured To: geoserver-users@lists.sourceforge.net Message-ID: CAG2EM7kN-Aiv4-rBunnj0CR1zcpf5MnZRxuBg=di9gapam9...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi, In GeoEXT print ,map is not printed When WMS layer is secured and getting *java.io.IOException: The byte array is not a recognized imageformat.* But the same print is working fine when layer is public and also how to change output filename dymanically form javascript.Please guide wt i have to do..Give some suggestions. Herewith i have enclosed sample YAML file for reference.. -- next part -- An HTML attachment was scrubbed... -- next part -- A non-text attachment was scrubbed... Name: config.yaml Type: application/octet-stream Size: 3721 bytes Desc: not available -- -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users