Opened 12 years ago

Closed 8 years ago

Last modified 8 years ago

#7122 closed enhancement (fixed)

WMS authentication

Reported by: skyper Owned by: team
Priority: normal Milestone: 16.02
Component: Core Version:
Keywords: WMS authentication Cc:

Description (last modified by skyper)

Stripped of #7086 to get the enhancement in a seperate ticket.

Some GUI option to set login data for WMS would be nice.

This is just an example. Remember JOSM sends your OSM login data to this server.

demo accounts:

alice/alice: Full access
bob/bob: Limited access
guest/guest: Very limited access

Attachments (0)

Change History (5)

comment:1 by skyper, 12 years ago

Description: modified (diff)

comment:2 by wiktorn, 9 years ago

Owner: changed from team to wiktorn
Status: newassigned

comment:3 by simon04, 8 years ago

Milestone: 16.02
Owner: changed from wiktorn to team
Status: assignednew

It seems to be working okay, i.e., one manages to load images w/o the OSM password being sent.

The problem I experienced w/ r9312 and the WMS from the #comment:description is in the context of parallel image loading:

  1. 3 WMS requests are fired and executed
  2. All 3 obtain HTTP 401
  3. The first one requests the saved credentials from the preferences (I entered+saved them while adding the WMS layer). It registers credentialsTried (in org/openstreetmap/josm/io/auth/, which is not host specific!), obtains the credentials from the preferences and loads the image
  4. The 2nd and 3rd request however reach credentialsTried already set from the first host. This causes 2 credential dialogs to be shown at org/openstreetmap/josm/io/auth/

So two credential dialogs are shown despite having the correct credentials set in the preferences.

To be done:

  • make host aware
  • somehow fix this parallel request issue
Last edited 8 years ago by simon04 (previous) (diff)

comment:4 by simon04, 8 years ago

Resolution: fixed
Status: newclosed

In 9396/josm:

fix #7122 - Improve HTTP authentication for parallel requests (TMS/WMS imagery)

comment:5 by fsteggink, 8 years ago

What a coincidence. Today an agreement was announced that the OSM community could use recent (2014) 50 cm photographs from the Netherlands to enhance OSM. It appears that WMS authentication will be used. Hopefully this fix will be sufficient. That would be nice :)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.