[Mapserver-users] Mapserver as WMS-client and authentication

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Fri Nov 21 14:57:51 EST 2003


> -----Original Message-----
> From: Daniel Morissette [mailto:morissette at dmsolutions.ca] 
> Sent: Friday, November 21, 2003 1:41 PM
> To: GeoIT
> Cc: 'mapserver-users at lists.gis.umn.edu'
> Subject: Re: [Mapserver-users] Mapserver as WMS-client and 
> authentication
> 
> 
> GeoIT wrote:
> > 
> > The problem: How I can tell Mapserver  (V.3.6, Maplab 2.01) to send 
> > user and password ?
> > 
> > Sending it as http://user:pwd@..... Via the browser works, but if I 
> > add it to CONNECTION-URL in the mapfile, a blank image is 
> coming back.
> > 
> > Is there any other possibility to access secured layers 
> from other WMS 
> > ?
> > 
> 
> I haven't tested this, but I would suggest that you try with 
> MapServer 
> 4.0.  It uses libcurl instead of libwww for its HTTP requests 
> and it may 
> well be that curl will accept the user:password at hostname in the 
> connection string.  If it doesn't then please file an enhancement bug 
> for this in bugzilla and we'll see what we can do to pass the 
> user/password to curl.
>

Careful this info in the mapfile is not in an HTTP area, as people can see
it.

Also, can MapServer provide support for making HTTP requests to servers
which requires certs?

..Tom

 
> Daniel
> -- 
> ------------------------------------------------------------
>   Daniel Morissette               morissette at dmsolutions.ca
>   DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu 
> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
> 



More information about the mapserver-users mailing list