Opened 14 years ago
Closed 14 years ago
#2892 closed enhancement (fixed)
WFS http authentication support
Reported by: | strk | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.6.0 |
Component: | WMS | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
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:pass@server)
Attachments (1)
Change History (7)
follow-up: 2 comment:1 by , 14 years ago
comment:2 by , 14 years ago
Replying to 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 r13093
comment:3 by , 14 years ago
Milestone: | → Version 1.6.0 |
---|
by , 14 years ago
Attachment: | feature-2892.diff added |
---|
patch to port wfs source select and provider to QgsNetworkAccessManager
comment:4 by , 14 years ago
Component: | C++ Plugins → WMS+WFS |
---|---|
Owner: | changed from | to
comment:5 by , 14 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
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied as part of r13985. Thanks, Juergen!
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.