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

Reply via email to