#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 )
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.
http://security.demo.52north.org/wss/service/wms_demis/httpauth?
demo accounts:
alice/alice: Full access
bob/bob: Limited access
guest/guest: Very limited access
Attachments (0)
Change History (5)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
Milestone: | → 16.02 |
---|---|
Owner: | changed from | to
Status: | assigned → new |
comment:5 by , 9 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 :)
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:
credentialsTried
(inorg/openstreetmap/josm/io/auth/DefaultAuthenticator.java:55
, which is not host specific!), obtains the credentials from the preferences and loads the imagecredentialsTried
already set from the first host. This causes 2 credential dialogs to be shown atorg/openstreetmap/josm/io/auth/AbstractCredentialsAgent.java:46
So two credential dialogs are shown despite having the correct credentials set in the preferences.
To be done:
org.openstreetmap.josm.io.auth.DefaultAuthenticator#credentialsTried
host aware