[QGIS-trac] [Quantum GIS] #3401: WMS authentication not using stored credentials

Quantum GIS qgis at qgis.org
Mon Jan 10 07:20:38 EST 2011


#3401: WMS authentication not using stored credentials
------------------------------------------------+---------------------------
   Reporter:  tarvokurm                         |              Owner:  mhugent
       Type:  bug                               |             Status:  new    
   Priority:  major: does not work as expected  |          Milestone:         
  Component:  WMS+WFS                           |            Version:  1.6.0  
   Keywords:                                    |   Platform_version:         
   Platform:  Windows                           |           Must_fix:  No     
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 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

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3401>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list