[Qgis-user] Qgis WMS HTTP auth problem in 1.5 and 1.6

Tarvo Kurm Tarvo.Kurm at Elion.ee
Fri Jan 7 04:01:12 PST 2011


Hi,

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. Can anyone else reproduce this? Should I file a bug report?

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"

I'm gladly willing to test different configurations if it helps debugging the issue.

Tarvo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110107/ac6580c8/attachment.html>


More information about the Qgis-user mailing list