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)

feature-2892.diff (24.2 KB ) - added by jef 14 years ago.
patch to port wfs source select and provider to QgsNetworkAccessManager

Download all attachments as: .zip

Change History (7)

comment:1 by jef, 14 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.

in reply to:  1 comment:2 by jef, 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 pcav, 14 years ago

Milestone: Version 1.6.0

by jef, 14 years ago

Attachment: feature-2892.diff added

patch to port wfs source select and provider to QgsNetworkAccessManager

comment:4 by jef, 14 years ago

Component: C++ PluginsWMS+WFS
Owner: changed from timlinux to mhugent

comment:5 by mhugent, 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 mhugent, 14 years ago

Resolution: fixed
Status: newclosed

Applied as part of r13985. Thanks, Juergen!

Note: See TracTickets for help on using tickets.