[Mapserver-dev] Question about basic authentication in a WMS connection

Chris G. Nicholas cgn at globexplorer.com
Fri Feb 27 18:38:58 EST 2004


I was just about to go off and explore this area to test against our prototype WMS next week, that will require authentication... 
 
So I'd certainly be willing to test this code out here soon...
 
Chris

	-----Original Message----- 
	From: Sean Gillies [mailto:sgillies at frii.com] 
	Sent: Fri 2/27/2004 3:23 PM 
	To: Daniel Morissette 
	Cc: MapServer-Dev 
	Subject: Re: [Mapserver-dev] Question about basic authentication in a WMS connection
	
	

	On Feb 27, 2004, at 2:10 PM, Daniel Morissette wrote:
	
	> Sean Gillies wrote:
	>> Hi all, I've run into a nasty bug with a WMS client connection.  I'm
	>> digging
	>> into the code right now, but am hoping that one of the WMS developers
	>> will
	>> have some suggestions for me.
	>> Problem is that with the CVS mapserver a WMS layer with a connection
	>> like
	>>     CONNECTION "http://user:passwd@host/servlet?&foo=bar"
	>> is falling all the way through the logic in msDrawLayer to the point
	>> where
	>> we try to draw it using drawEPPL().  Any reasons why this connection
	>> wouldn't work?
	>
	> The problem could be that CURL doesn't extract the user:password from
	> the URL automatically (I never tested that before).  For sure there is
	> a curl option to pass the user password that we should add support
	> for.  I thought there was a bug about this but couldn't find this, so
	> I've created one:
	>   http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=581
	>
	> Daniel
	
	Thanks for the reply, Daniel, I really appreciate it.
	
	Turns out that the service, which the developers claimed was WMS
	compliant, was
	requiring lower case WMS parameters.  This isn't up to spec, is it?
	
	So I hacked mapwmslayer.c to emit a GetMap with lower case params.  And
	now
	it "works", but sure smells bad.
	
	Don't worry, I won't commit this to CVS!
	
	Sean
	
	_______________________________________________
	Mapserver-dev mailing list
	Mapserver-dev at lists.gis.umn.edu
	http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
	





More information about the mapserver-dev mailing list