Hi Federica

The syntax used in

http://user:pass@My-address/geoserver/wms

is not an official one, some browsers support it, some not.

For public layers you do not have to use this syntax.

Concerning open layers, look at this thread

http://osgeo-org.1560.n6.nabble.com/Load-GeoServer-WMS-secured-layers-with-OpenLayers-td3919938.html

Christian



Zitat von "[email protected]" <[email protected]>:

> Hi, thank you for the answer.
> I have tried to make the request to the address:
> http://user:pass@My-address/geoserver/wms
> but I recieve an error about the malformed url with firefox but it seems to
> work with chrome.
> But I don't know why I have to use this syntax even if the layers are public
> and I can navigate to them with the Layer preview in Geoserver... does it
> maybe depends on some configuration?
> And If I have to use this syntax, do you know how is it possible to make
> Openlayers 2.12 build the correct request? ...without using plain
> credential?
>
> Thank you again,
> Federica
>
>
>
> --
> View this message in context:   
> http://osgeo-org.1560.n6.nabble.com/Avoid-GeoServer-Realm-authentication-on-WMS-requests-tp5028376p5028702.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to