Hello,
We (at Camptocamp) had this issue when we worked for the geOrchestra project. The print module needs to be authentified with GeoServer. In geOrchestra we have a security proxy doint this for all our services.
You can have a look in the geOrchestra project [1] but I don’t think you can use any source code in your project and there is no easy way for this.
If you need more information I know you have my phone number 
Y.
[1] http://georchestra.org
2012/1/12 Gerome Bracquemont <gerome.bracquemont@anonymised.com>
Hy all,
That’s my first question to this list and my english is not really good.
My question is :
I have to manage user in my geoserver to limit layers of several users.
In my client (OpenLayers) I use the spring security module to authticate my users.
Everything works properly.
My only trouble is when a user want to print a map (whith GeoExt.data.PrintProvider). The layers from the wms are not drawn, but the objects drawn on the vector layer in the user interface are rendered.
I’ve tried to add a userame and a password in the url called in PrintProvider.js whithout success.
Do you have an idea ??
thanks in advance
gerome bracquemont
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel (France) : +33 4 79 26 57 98
Tel (Suisse, redirection vers la France) : +41 21 619 1031
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jacolin@anonymised.com
http://www.camptocamp.com