[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Repository download addressing questions

On Mar 9, 2009, at 4:46 AM, Pascal Rapicault wrote:

> (1) Is it reasonable to enforce that everything to download from
> repositories is adressed by URI ?

yes. While manipulating URIs, make sure to use URIUtils

Great!

> (2) What is the correct scope for remembering username/passwords?
There was discussion to add something along those lines in ECF. You may want to verify what is going on and if we would not be better of joining effort there. Otherwise what you propose makes sense and would solve 256281. Could there be case where two folders in the domain be constrained by a different pwd for each user in which case persisting the info at domain level would cause problems?

ok. The most common case would be that one user has one login/password to one domain, but the case where different directories has different usernames/passwords would not be surprising. However, name/pwd was stored for the domain, only users using repositories with the more uncommon scenario would be affected - they could always enter the new password for a more detailed path. That would be both easy to implement and easier for a user to understand.


Henrik Lindberg