Feature request #2892

WFS http authentication support

Added by Sandro Santilli over 10 years ago. Updated about 10 years ago.

Status:Closed
Priority:Low
Assignee:Marco Hugentobler
Category:Web Services clients/WMS
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:12952

Description

When a WFS server requires HTTP authentication, the current WFS plugin doesn't prompt the user for name/password but passes an empty string to the XML parser instead.

Would be nice to have a user/password prompt or at least a more meaningful error message to allow user to specify them as part of the url (user:[email protected])

feature-2892.diff Magnifier - patch to port wfs source select and provider to QgsNetworkAccessManager (24.2 KB) Jürgen Fischer, 2010-07-24 01:02 PM

History

#1 Updated by Jürgen Fischer over 10 years ago

the WFS provider should probably be ported to use QNetworkAccessManager instead of QgsHttpTransaction (like the WMS provider). That way the authentication would be handled transparently.

#2 Updated by Jürgen Fischer over 10 years ago

Replying to [comment:1 jef]:

the WFS provider should probably be ported to use QNetworkAccessManager instead of QgsHttpTransaction (like the WMS provider). That way the authentication would be handled transparently.

see also 7fb0e90c

#3 Updated by Marco Hugentobler about 10 years ago

Hi Juergen

Thanks for the patch. I'm currently working on WFS-T support and will try to merge your patch with my changes and then commit everything together.

Marco

#4 Updated by Marco Hugentobler about 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Applied as part of 532cd103 (SVN r13986). Thanks, Juergen!

Also available in: Atom PDF