Hi,
we are currently facing the same problem and we made a patch for MapFish
2.0 to allow forwarding of basic authentication from mapfish-print to
Geoserver when printing.
What kind of authentication are you using to access your secured layers?
Basic or something more complex?
To set the output file name you can use the "outputFilename" property in
your json spec, for example:
{
layout: 'A4 portrait',
...CUSTOM_PARAMS...
srs: 'EPSG:4326',
units: 'degrees',
geodetic: false,
outputFilename: 'custom-file-name',
....
}
Regards,
Mauro
2014-02-28 13:37 GMT+01:00 geo gis <[email protected]>:
>
>
> 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..
>
>
>
>
> ------------------------------------------------------------------------------
> 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=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
==
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
-------------------------------------------------------
------------------------------------------------------------------------------
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=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users