Ticket #3401 (closed bug: fixed)
WMS authentication not using stored credentials
|Reported by:||tarvokurm||Owned by:||mhugent|
|Priority:||major: does not work as expected||Milestone:|
|Must Fix for Release:||No||Awaiting user input:||no|
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