[OpenLayers-Users] Wms authentication problem.
Grant Masan
grant.massan at gmail.com
Mon May 10 03:38:21 EDT 2010
Hi all,
I am using normal wms layer request like:
mapThis = new OpenLayers.Layer.WMS("Basemap", "
https://username:password@www.kartta.fi/image",
{layers: 'perus',
singleTile: true,
srs: 'EPSG:4326',
format: 'image/png',
styles: ['style_1'],
transparent: false
},
{isBaseLayer: true});
My problem is that this authentication "
username:password at www.kartta.fi/image" is not working how I would like. It
is still asking everytime username/password when I reload map or when I
remove map. (Browsers box that asks username/password)
So I am asking that what is right way to handle this wms authentication ?
Br.
Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100510/d1f2807d/attachment.html
More information about the Users
mailing list