Hi developers,

I am using OpenLayers 2.11 to display WMS Layers, but I need any help,
because I am trying to pass authorization headers into a WMS request, but I
don't know if it's possible.

The request that I sent is:

var layer = new OpenLayers.Layer.WMS(
layerData.name,
layer_url,
{
layers: layers
},
{
     *headers: {*
*                     'Authorization': 'Basic user:pass'*
*       }*
}
);

I know that the better options to do this is throught a proxy, but I need
to do this temporaly.

Regards!!!

-- 
Moisés Arcos Santiago
Área de Proyectos

Emergya Consultoría
Tfno: +34 954 51 75 77
Fax: +34 954 51 64 73
www.emergya.es
_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to