Community
Participate
Working Groups
As part of the move to the secure store, we should support storing multiple sets of credentials for the same repository, e.g. by indexing them using the username.
This is needed to support users with multiple workspaces using different credentials in each workspace.
I've pushed a WIP review but it doesn't quite work. It uses the username as part of the key to look up passwords, which is fine. The problem is that we can't support storing multiple different usernames in the secure store unless each TaskRepository uses a random value as the key and stores that key in it's properties. The other option would be to store all usernames as properties on TaskRepository and not in the secure store. The problem with both approaches is that the URL is no longer enough to look up the credentials. Given that storing multiple sets of credentials is only needed when using multiple workspaces and it's easy to use a different secure storage for each one, I'm not sure it's worth doing this. 21539: [WIP] 414907: support storing multiple sets of credentials for the same repository [I2c78b225] https://git.eclipse.org/r/#/c/21539/
Marking WONTFIX as per reasoning above.