Hi Jamie,

That recipe should work afaik. A great tool for debugging such issues is
firebug. It will tell you exactly what is being sent to the server and what
the server is sending back. Be it an error or a failure to authenticate.

-Justin

On Wed, Dec 29, 2010 at 12:40 PM, Jamie Popkin <[email protected]>wrote:

> Hello all.
>
> I've been struggling with accessing my secure WMS layers for quite some
> time now. My latest attempt is to us an ajax call through javascript....
> Using Basic 
> Authentication<http://en.wikipedia.org/wiki/Basic_access_authentication>methods.
>  In particular I've been following this
> example <http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html>
> .
>
> Am I going in the wrong direction?
>
> Does anyone know of a good example for authenticating to secured Geoserver
> WMS layers?
>
> Thanks and happy new year. :)
>
> Jamie
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to