Modify

Opened 9 years ago

Last modified 3 months ago

#2710 new enhancement

The preferences should have multiple server profiles

Reported by: avarab@… Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc: joshdoe, malenki, Zibik, francois.lacombe

Description (last modified by Don-vip)

If I want to switch from api.openstreetmap.org/api to some test server while hacking OSM I have to erase my current API host/user/password and put in new values, then repeat this process when I switch back.

The preferences should have a drop-down list of OSM servers and associated users/password that I could switch between. This would help both with switching servers and switching users on the same server.

Attachments (0)

Change History (14)

comment:1 Changed 7 years ago by joshdoe

Cc: joshdoe added

I believe this same issue affects users who access WMS servers which require authentication. I'm using such a server, and I have to constantly reenter usernames and passwords between downloading images from WMS and uploading changesets to OSM. I would say this is closer to a bug than an enhancement. I'm not familiar with the code for this, but couldn't we just have per host user/pass? This wouldn't solve the problem for users who might try and access different paths on the same host that use different credentials, however I imagine this isn't very common.

comment:2 Changed 5 years ago by Don-vip

Ticket #8048 has been marked as a duplicate of this ticket.

comment:3 Changed 4 years ago by Don-vip

Ticket #9672 has been marked as a duplicate of this ticket.

comment:4 Changed 4 years ago by Don-vip

Cc: malenki added
Description: modified (diff)

comment:5 Changed 4 years ago by Don-vip

Ticket #9677 has been marked as a duplicate of this ticket.

comment:6 Changed 4 years ago by Don-vip

Cc: Zibik added

comment:7 Changed 4 years ago by Don-vip

Ticket #9918 has been marked as a duplicate of this ticket.

comment:8 Changed 4 years ago by bastiK

Cc: francois.lacombe added

Note, that you run JOSM with multiple different preference directories:

$ java -Djosm.home=/path/to/pref/dir -jar josm-tested.jar

The disadvantage is of course that all the other settings, like plugins, are also separate for each "profile".

comment:9 Changed 4 years ago by francois.lacombe

I've tried to copy my main JOSM instance and duplicate my settings on it (it's not a problem, my OSM and private usage don't need the same plug-ins or even the same projection).

I've got a standalone josm-tested.jar in C:\Program Files\JOSM_2 and launch it with "C:\Program Files\Java\jre7\bin\javaw.exe" -Djosm.home="C:\Program Files\JOSM_2\josm" -jar "C:\Program Files\JOSM_2\josm-tested.jar"
It seems standalone Java apps (instead of jnlp) can't accept self-signed HTTPS certificates and I do have services which are using such protocol.
The only stuff I get is a Java security Exception while loading presets and styles over HTTPS at startup.

I must have forgotten an hidden option somewhere but I'm not very surprised.

comment:10 Changed 2 years ago by Don-vip

Ticket #12585 has been marked as a duplicate of this ticket.

comment:11 Changed 2 years ago by Stalfur

No wonder I couldn't find this issue, 7 years old now and last touched 21 months ago! My bad for the duplicate 12585 though

comment:12 Changed 22 months ago by Don-vip

Ticket #5490 has been marked as a duplicate of this ticket.

comment:13 Changed 5 months ago by Zverikk

Seconding this. It was a minor inconvenience before (different accounts on different servers), but since I started doing imports, this has become a major issue. It'd be great to store oauth settings for multiple accounts, or have a history of oauth tokens, with an option to delete some.

comment:14 Changed 3 months ago by Gppes

Hello Josm team, thanks for your great software!

I also would be interested in this feature!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to avarab@gmail.com
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.