Bug report #3401
WMS authentication not using stored credentials
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | Marco Hugentobler | ||
Category: | Web Services clients/WMS | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | fixed | |
Crashes QGIS or corrupts data: | Copied to github as #: | 13461 |
Description
I cannot get HTTP authentication to work for WMS layers in QGIS 1.5 and 1.6.
It does work in QGis 1.4.
How i expect it to behave:
Layer->Add WMS Layer->Edit->Enter name, URL, username, password->Ok->Connect->Add
When I toggle the layer active in the left “layers” panel, the WMS image will appear.
How it behaves in 1.6:
I toggle the layer active in the left “layers” panel. A new dialog will appear saying
“Enter Credentials” Username….. Password….. Authentication required [OK] [Cancel]
Now, when I enter the username and password again (I already entered them when defining the layer!) the WMS image will appear.
Some extra info:
Geoserver 2.1b3 as password protected WMS server.
QGIS-1.6 windows stock install.
The layer source in layers properties are in the form of: „username=foo,password=bar,url=http://mygeoserver:9090/geoserver/wms?SERVICE=WMS&VERSION=1.1.1“
Could be related to ticket #2967
Associated revisions
fix #3401
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15036 c8812cc2-4d05-0410-92ff-de0c093fc19c
fix #3401
git-svn-id: http://svn.osgeo.org/qgis/trunk@15036 c8812cc2-4d05-0410-92ff-de0c093fc19c
History
#1 Updated by Jürgen Fischer almost 14 years ago
- Resolution set to fixed
- Status changed from Open to Closed
fixed in f5fe5f7a (SVN r15037).