Hello,
I'm pretty new to OpenLayers. I recently began using it to add spatial functionality to an existing non-spatial web app. We're publishing WMS services from an ArcGIS Server 9.2 instance under IIS, configured to prevent anonymous access. This is a good thing since some of the layers we're serving contain sensitive data. I saw this previous post to the user forum: http://openlayers.org/pipermail/users/2007-February/000721.html, which is exactly what is happening in my situation. The user gets prompted to authenticate against the web server. The problem is that the user has already been authenticated by the web application so I'd like to be able to programmatically impersonate the user to our WMS server so there is no prompting for credentials. I don't see anything in the OpenLayers 2.5 API to support this, but I did run across this: http://trac.openlayers.org/browser/sandbox/tschaub/request/lib/OpenLayer s/Request.js?rev=6351. This OpenLayers.Request method seems to support username and password parameters for HTTP authentication. Is there a way that this can be used instead of a call to OpenLayers.Layer.WMS to instantiate a layer? Is the OpenLayers.Request method something in the underlying library that is not exposed in the public API, or is this something slated for a future release? Any information is greatly appreciated on how to access secured WMS layers without getting the popup authentication dialog. Thanks, Paul ________________________________ Paul Angelino Senior Programmer/Analyst [EMAIL PROTECTED] (303) 945-4137 (Office) (303) 601-4856 (Mobile) (702) 993-8647 (Fax) nature.org <http://nature.org/> The Nature Conservancy 2391 Braun Drive Golden, CO 80401
<<image001.gif>>
<<image002.gif>>
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users