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

Daniel Morissette dmorissette at dmsolutions.ca
Fri Feb 27 16:10:29 EST 2004


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
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-dev mailing list