Hi,

 

I have a simple question (at least, I think it is). I have a geoserver
set up, and I want to secure some layers using http authentication.

 

What I thought should work is:

var ol_wms = new OpenLayers.Layer.WMS( "WMS.Secured", 
                " <http://XXXX:XXXX@SERVER/geoserver/wms>
http://XXXX:XXXX@SERVER/geoserver/wms";, {LAYERS: 'SEC_LAYER'} );

 

But all I'm getting is an code="LayerNotDefined" Could not find....

 

What am I'm doing wrong?? If anyone could help me out I'd be very
gratefull!

 

Thanks in advance, regards,

Bram

 

 

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to