Bug report #6609
WFS client does not store Username and Password
|Category:||Web Services clients/WFS|
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||15797|
Tested on both qgis 1.8 and master and Windows and Linux.
The WFS client does not store the username and password when the service is behind simple httpd authentication, so it always asks for the credentials.
Does not happen in the WMS and WCS clients.
#1 Updated by Chris Berkhout over 6 years ago
Might be better to call this "WFS client does not use Username and Password".
In my experience QGIS doesn't keep asking for credentials again during the same session, but it does when it is restarted and a new connection is made to the saved server (which has authentication details saved and visible via the edit button).
Not using the given credentials on the first request (ie. only doing authentication if an anonymous request is denied) means that we have to resort to tricky workarounds (http://lists.osgeo.org/pipermail/qgis-user/2013-May/022544.html) to get access to protected layers on servers that have some public layers.